mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
No description
| .vscode | ||
| dist | ||
| src | ||
| tools | ||
| .gitignore | ||
| LICENSE.txt | ||
| README.md | ||
| requirements.txt | ||
Twitter OpenAPI
Twitter OpenAPI(Swagger) specification
Usage
openapi-generator-cli generate -g <language> -i https://raw.githubusercontent.com/fa0311/twitter-openapi/main/dist/typescript/openapi-3.0.yaml -o ./generated
If the language supports variable-length arguments.
openapi-generator-cli generate -g <language> -i https://raw.githubusercontent.com/fa0311/twitter-openapi/main/dist/dart/openapi-3.0.yaml -o ./generated
Note that the license also inherits to the output.
Contribute
src*.yaml files should be written according to the v3.0/schema.jsondistDo not rewrite this file as it is an automatically generated OpenAPI file.
build
python -V # Python 3.10.8
pip install -r requirements.txt
python tools/build.py