mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
update tags
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
ac508e013d
commit
59e1e2b8e2
8 changed files with 20 additions and 15 deletions
8
dist/compatible/openapi-3.0.yaml
vendored
8
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -135,11 +135,13 @@ security:
|
||||||
servers:
|
servers:
|
||||||
- url: https://twitter.com/i/api
|
- url: https://twitter.com/i/api
|
||||||
tags:
|
tags:
|
||||||
- description: response User
|
- description: Responses containing User objects.
|
||||||
name: user
|
name: user
|
||||||
- description: response User list
|
- description: Responses containing List[User] objects.
|
||||||
|
name: users
|
||||||
|
- description: Responses containing instruction objects.
|
||||||
name: user-list
|
name: user-list
|
||||||
- description: response tweet
|
- description: Responses containing instruction objects.
|
||||||
name: tweet
|
name: tweet
|
||||||
- description: post
|
- description: post
|
||||||
name: post
|
name: post
|
||||||
|
|
|
||||||
2
dist/compatible/paths/user.yaml
vendored
2
dist/compatible/paths/user.yaml
vendored
|
|
@ -230,4 +230,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- user
|
- users
|
||||||
|
|
|
||||||
8
dist/docs/openapi-3.0.yaml
vendored
8
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -135,11 +135,13 @@ security:
|
||||||
servers:
|
servers:
|
||||||
- url: https://twitter.com/i/api
|
- url: https://twitter.com/i/api
|
||||||
tags:
|
tags:
|
||||||
- description: response User
|
- description: Responses containing User objects.
|
||||||
name: user
|
name: user
|
||||||
- description: response User list
|
- description: Responses containing List[User] objects.
|
||||||
|
name: users
|
||||||
|
- description: Responses containing instruction objects.
|
||||||
name: user-list
|
name: user-list
|
||||||
- description: response tweet
|
- description: Responses containing instruction objects.
|
||||||
name: tweet
|
name: tweet
|
||||||
- description: post
|
- description: post
|
||||||
name: post
|
name: post
|
||||||
|
|
|
||||||
2
dist/docs/paths/user.yaml
vendored
2
dist/docs/paths/user.yaml
vendored
|
|
@ -335,4 +335,4 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
tags:
|
tags:
|
||||||
- user
|
- users
|
||||||
|
|
|
||||||
|
|
@ -56,11 +56,13 @@ security:
|
||||||
- AuthType: []
|
- AuthType: []
|
||||||
tags:
|
tags:
|
||||||
- name: user
|
- name: user
|
||||||
description: response User
|
description: Responses containing User objects.
|
||||||
|
- name: users
|
||||||
|
description: Responses containing List[User] objects.
|
||||||
- name: user-list
|
- name: user-list
|
||||||
description: response User list
|
description: Responses containing instruction objects.
|
||||||
- name: tweet
|
- name: tweet
|
||||||
description: response tweet
|
description: Responses containing instruction objects.
|
||||||
- name: post
|
- name: post
|
||||||
description: post
|
description: post
|
||||||
- name: v1.1-get
|
- name: v1.1-get
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ paths:
|
||||||
- $ref: "#/components/schemas/UsersResponse"
|
- $ref: "#/components/schemas/UsersResponse"
|
||||||
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
||||||
tags:
|
tags:
|
||||||
- "user"
|
- "users"
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ import os
|
||||||
import logging
|
import logging
|
||||||
import base64
|
import base64
|
||||||
import openapi_client as pt
|
import openapi_client as pt
|
||||||
from pydantic import BaseModel
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
@ -91,7 +90,7 @@ api_client.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/5
|
||||||
|
|
||||||
error_count = 0
|
error_count = 0
|
||||||
|
|
||||||
for x in [pt.DefaultApi, pt.TweetApi, pt.UserApi, pt.UserListApi]:
|
for x in [pt.DefaultApi, pt.TweetApi, pt.UserApi, pt.UsersApi, pt.UserListApi]:
|
||||||
for props, fn in x.__dict__.items():
|
for props, fn in x.__dict__.items():
|
||||||
if not callable(fn):
|
if not callable(fn):
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ class Config:
|
||||||
AddPathQueryIdOnParameters(split=-1),
|
AddPathQueryIdOnParameters(split=-1),
|
||||||
getParamHook,
|
getParamHook,
|
||||||
]
|
]
|
||||||
for key in ["default", "user", "user-list", "tweet"]
|
for key in ["default", "user", "users", "user-list", "tweet"]
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
key: [
|
key: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue