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:
|
||||
- url: https://twitter.com/i/api
|
||||
tags:
|
||||
- description: response User
|
||||
- description: Responses containing User objects.
|
||||
name: user
|
||||
- description: response User list
|
||||
- description: Responses containing List[User] objects.
|
||||
name: users
|
||||
- description: Responses containing instruction objects.
|
||||
name: user-list
|
||||
- description: response tweet
|
||||
- description: Responses containing instruction objects.
|
||||
name: tweet
|
||||
- description: post
|
||||
name: post
|
||||
|
|
|
|||
2
dist/compatible/paths/user.yaml
vendored
2
dist/compatible/paths/user.yaml
vendored
|
|
@ -230,4 +230,4 @@ paths:
|
|||
schema:
|
||||
type: string
|
||||
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:
|
||||
- url: https://twitter.com/i/api
|
||||
tags:
|
||||
- description: response User
|
||||
- description: Responses containing User objects.
|
||||
name: user
|
||||
- description: response User list
|
||||
- description: Responses containing List[User] objects.
|
||||
name: users
|
||||
- description: Responses containing instruction objects.
|
||||
name: user-list
|
||||
- description: response tweet
|
||||
- description: Responses containing instruction objects.
|
||||
name: tweet
|
||||
- description: post
|
||||
name: post
|
||||
|
|
|
|||
2
dist/docs/paths/user.yaml
vendored
2
dist/docs/paths/user.yaml
vendored
|
|
@ -335,4 +335,4 @@ paths:
|
|||
schema:
|
||||
type: string
|
||||
tags:
|
||||
- user
|
||||
- users
|
||||
|
|
|
|||
|
|
@ -56,11 +56,13 @@ security:
|
|||
- AuthType: []
|
||||
tags:
|
||||
- name: user
|
||||
description: response User
|
||||
description: Responses containing User objects.
|
||||
- name: users
|
||||
description: Responses containing List[User] objects.
|
||||
- name: user-list
|
||||
description: response User list
|
||||
description: Responses containing instruction objects.
|
||||
- name: tweet
|
||||
description: response tweet
|
||||
description: Responses containing instruction objects.
|
||||
- name: post
|
||||
description: post
|
||||
- name: v1.1-get
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ paths:
|
|||
- $ref: "#/components/schemas/UsersResponse"
|
||||
- $ref: "./../schemas/error.yaml#/components/schemas/Errors"
|
||||
tags:
|
||||
- "user"
|
||||
- "users"
|
||||
|
||||
components:
|
||||
schemas:
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ import os
|
|||
import logging
|
||||
import base64
|
||||
import openapi_client as pt
|
||||
from pydantic import BaseModel
|
||||
from pathlib import Path
|
||||
import time
|
||||
|
||||
|
|
@ -91,7 +90,7 @@ api_client.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/5
|
|||
|
||||
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():
|
||||
if not callable(fn):
|
||||
continue
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class Config:
|
|||
AddPathQueryIdOnParameters(split=-1),
|
||||
getParamHook,
|
||||
]
|
||||
for key in ["default", "user", "user-list", "tweet"]
|
||||
for key in ["default", "user", "users", "user-list", "tweet"]
|
||||
}
|
||||
| {
|
||||
key: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue