mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
add schemas hooks
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
dfc0b8b2e0
commit
9d2fbc2755
3 changed files with 29 additions and 5 deletions
|
|
@ -9,6 +9,7 @@ class Config:
|
|||
return {
|
||||
"docs": {
|
||||
"openapi": [AddSecuritySchemesOnSecuritySchemes()],
|
||||
"schemas": [],
|
||||
"request": {
|
||||
key: [
|
||||
ReplaceQueryIdPlaceholder(split=-1),
|
||||
|
|
@ -55,6 +56,7 @@ class Config:
|
|||
},
|
||||
"dart": {
|
||||
"openapi": [],
|
||||
"schemas": [],
|
||||
"request": {
|
||||
key: [
|
||||
ReplaceQueryIdPlaceholder(split=-1),
|
||||
|
|
@ -107,6 +109,7 @@ class Config:
|
|||
},
|
||||
"typescript": {
|
||||
"openapi": [AddSecuritySchemesOnSecuritySchemes()],
|
||||
"schemas": [RemoveDiscriminator()],
|
||||
"request": {
|
||||
key: [
|
||||
ReplaceQueryIdPlaceholder(split=-1),
|
||||
|
|
@ -143,6 +146,7 @@ class Config:
|
|||
},
|
||||
"test": {
|
||||
"openapi": [AddSecuritySchemesOnSecuritySchemes()],
|
||||
"schemas": [],
|
||||
"request": {
|
||||
key: [
|
||||
ReplaceQueryIdPlaceholder(split=-1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue