mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
add var
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
dd0869a6f5
commit
328543616c
4 changed files with 99 additions and 45 deletions
|
|
@ -26,7 +26,8 @@ paths:
|
|||
default: "{{Query}}"
|
||||
example: "{{Query}}"
|
||||
|
||||
# ======== Security ========
|
||||
# {% if header == parameters %}
|
||||
|
||||
- name: authorization
|
||||
in: header
|
||||
required: true
|
||||
|
|
@ -55,6 +56,9 @@ paths:
|
|||
type: string
|
||||
default: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36"
|
||||
description: "UserAgent, some APIs may be rejected if changed."
|
||||
|
||||
# {% endif %}
|
||||
|
||||
responses:
|
||||
"200":
|
||||
description: ""
|
||||
|
|
|
|||
8
src/config/variable.json
Normal file
8
src/config/variable.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"dart": {
|
||||
"header": "parameters"
|
||||
},
|
||||
"typescript": {
|
||||
"header": "securitySchemes"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue