Befor generating

This commit is contained in:
marys
2026-06-01 13:17:37 +02:00
parent 3383f4bf4a
commit 1aa1b5f625
6756 changed files with 649946 additions and 1 deletions
@@ -0,0 +1,105 @@
{
"type": "object",
"required": [
"type",
"flows"
],
"properties": {
"type": {
"type": "string",
"enum": [
"oauth2"
]
},
"description": {
"type": "string"
},
"flows": {
"type": "object",
"properties": {
"implicit": {
"allOf": [
{
"$ref": "http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"
},
{
"required": [
"authorizationUrl",
"scopes"
]
},
{
"not": {
"required": [
"tokenUrl"
]
}
}
]
},
"password": {
"allOf": [
{
"$ref": "http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"
},
{
"required": [
"tokenUrl",
"scopes"
]
},
{
"not": {
"required": [
"authorizationUrl"
]
}
}
]
},
"clientCredentials": {
"allOf": [
{
"$ref": "http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"
},
{
"required": [
"tokenUrl",
"scopes"
]
},
{
"not": {
"required": [
"authorizationUrl"
]
}
}
]
},
"authorizationCode": {
"allOf": [
{
"$ref": "http://asyncapi.com/definitions/2.4.0/oauth2Flow.json"
},
{
"required": [
"authorizationUrl",
"tokenUrl",
"scopes"
]
}
]
}
},
"additionalProperties": false
}
},
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/2.4.0/specificationExtension.json"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/2.4.0/oauth2Flows.json"
}