@asyncapi/specs
Version:
AsyncAPI schema versions
38 lines (37 loc) • 1.03 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://asyncapi.com/definitions/3.1.0/NonBearerHTTPSecurityScheme.json",
"type": "object",
"not": {
"type": "object",
"properties": {
"scheme": {
"description": "A short description for security scheme.",
"type": "string",
"enum": [ "bearer" ]
}
}
},
"required": [ "scheme", "type" ],
"properties": {
"description": {
"description": "A short description for security scheme.",
"type": "string"
},
"type": {
"description": "The type of the security scheme.",
"type": "string",
"enum": [ "http" ]
},
"scheme": {
"description": "The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.",
"type": "string"
}
},
"patternProperties": {
"^x-[\\w\\d\\.\\x2d_]+$": {
"$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json"
}
},
"additionalProperties": false
}