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
ふぁ 8485d1faa6
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
2024-02-13 00:17:08 +09:00
.github/workflows update OpenAPI Generator version 2024-02-06 15:06:01 +09:00
.vscode update schema 2024-02-11 20:36:47 +09:00
dist build 2024-02-13 00:17:08 +09:00
src Add retry_after property to error response and update SocialContext schema 2024-02-13 00:16:51 +09:00
test update schema 2024-02-09 17:22:13 +09:00
tools update hook 2023-11-21 10:25:16 +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.txt init 2023-04-08 17:57:22 +09:00
README.md Update README.md 2023-08-03 11:13:53 +09:00
requirements.txt update setting 2024-02-07 17:54:10 +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

agpl-3.0