mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 07:30:37 +01:00
update README
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
6aa291cc42
commit
f45f2c4514
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
|
@ -5,6 +5,19 @@ Twitter OpenAPI(Swagger) specification
|
|||
- [Dart](https://github.com/fa0311/twitter_openapi_dart)
|
||||
- [React Documents](https://github.com/fa0311/twitter-openapi-docs)
|
||||
|
||||
## Usage
|
||||
|
||||
```shell
|
||||
openapi-generator-cli generate -g <language> -i https://raw.githubusercontent.com/fa0311/twitter-openapi/main/dist/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.json](https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.0/schema.json)
|
||||
- `dist` Do not rewrite this file as it is an automatically generated OpenAPI file.
|
||||
|
||||
## License
|
||||
|
||||
[agpl-3.0](./LICENSE.txt)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue