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
3845a1b58e
commit
fd5041a60e
1 changed files with 7 additions and 1 deletions
|
|
@ -8,7 +8,13 @@ Twitter OpenAPI(Swagger) specification
|
|||
## Usage
|
||||
|
||||
```shell
|
||||
openapi-generator-cli generate -g <language> -i https://raw.githubusercontent.com/fa0311/twitter-openapi/main/dist/openapi-3.0.yaml -o ./generated
|
||||
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.
|
||||
|
||||
```shell
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue