mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-09 14:50:25 +01:00
1.3 KiB
1.3 KiB
Twitter OpenAPI
Twitter OpenAPI(Swagger) specification
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.
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
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: