Ajv and openapi spec use different versions of typescript json schema??????

This commit is contained in:
Madeline
2023-03-25 19:24:00 +11:00
parent 59c0dd0731
commit b272c56d1a
4 changed files with 73 additions and 37 deletions
+6 -8
View File
@@ -20,15 +20,13 @@
}
},
"components": {
"securitySchemes": [
{
"bearer": {
"type": "http",
"scheme": "bearer",
"description": "Bearer/Bot prefixes are not required."
}
"securitySchemes": {
"bearer": {
"type": "http",
"scheme": "bearer",
"description": "Bearer/Bot prefixes are not required."
}
],
},
"schemas": {
"SelectProtocolSchema": {
"type": "object",
+16 -4
View File
@@ -26292,8 +26292,14 @@
"type": "boolean"
},
"mute_config": {
"nullable": true,
"$ref": "#/definitions/MuteConfig"
"anyOf": [
{
"$ref": "#/definitions/MuteConfig"
},
{
"type": "null"
}
]
},
"muted": {
"type": "boolean"
@@ -28417,8 +28423,14 @@
"type": "boolean"
},
"custom_status": {
"nullable": true,
"$ref": "#/definitions/CustomStatus"
"anyOf": [
{
"$ref": "#/definitions/CustomStatus"
},
{
"type": "null"
}
]
},
"default_guilds_restricted": {
"type": "boolean"