1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00
No description
Find a file
2024-11-07 00:04:03 +09:00
.github/workflows update generater 7.9.0 2024-10-30 15:04:28 +09:00
.vscode add python config 2024-11-06 23:50:52 +09:00
debug add sample 2024-11-01 16:28:50 +09:00
dist remove required fields from OpenAPI schemas for sensitive media 2024-11-07 00:04:03 +09:00
other/error fix error schema 2024-09-29 18:08:58 +09:00
src remove required fields from OpenAPI schemas for sensitive media 2024-11-07 00:04:03 +09:00
test update hook to simpleted 2024-11-01 16:15:36 +09:00
tools fix create tweet schema 2024-11-02 04:43:38 +09:00
.gitignore Update openapi schemas 2024-09-27 12:15:03 +09:00
CONTRIBUTING.md update docs test 2023-07-31 17:59:02 +09:00
LICENSE update 2023-09-17 04:09:41 +09:00
LICENSE.AGPL update 2023-09-17 04:09:41 +09:00
README.md Update README.md 2024-10-24 11:38:34 +09:00
requirements.txt fix version urllib3 2024-09-29 19:36:42 +09:00

Twitter OpenAPI

Twitter OpenAPI(Swagger) specification

issues / discussions

Usage

openapi-generator-cli generate -g <language> -i https://raw.githubusercontent.com/fa0311/twitter-openapi/main/dist/docs/openapi-3.0.yaml -o ./generated

There are several outputs, but the one that most closely follows the OpenAPI specification is dist/docs. However, a lot of syntax that is not supported by some generators is used. Therefore, it is recommended to use dist/compatible or dist/compatible_discriminator.

You can also modify the hook to make the generated results more user-friendly. build_config.py

Note that the license also inherits to the output.

Contribute

CONTRIBUTING.md

build

python -V # Python 3.10.8
pip install -r requirements.txt
python tools/build.py

License

This project is dual licensed. You can choose one of the following licenses: