1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00
No description
Find a file
2023-09-20 10:55:14 +09:00
.github/workflows update build version 2023-08-09 17:00:47 +09:00
.vscode Merge branch 'main' into dev 2023-09-01 15:26:48 +09:00
dist build 2023-09-20 10:44:27 +09:00
src add Browser Schemes 2023-09-20 10:44:15 +09:00
test update test 2023-09-15 19:16:48 +09:00
tools remove postParamHook 2023-09-20 10:01:05 +09:00
.gitignore add cache 2023-09-01 13:40:34 +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 2023-09-17 04:24:21 +09:00
requirements.txt update requirements.txt 2023-05-21 12:25:30 +09:00

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 best follows the OpenAPI specification is dist/docs.
However, some Generators may use a syntax that is not supported.
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: