1
Fork 0
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:
ふぁ 2023-05-21 13:34:29 +09:00
parent dfc0b8b2e0
commit 9d2fbc2755
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 29 additions and 5 deletions

View file

@ -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),