UNPKG

@asyncapi/specs

Version:
33 lines (32 loc) 1.17 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "http://asyncapi.com/definitions/3.1.0/BearerHTTPSecurityScheme.json", "type": "object", "required": [ "type", "scheme" ], "properties": { "description": { "description": "A short description for security scheme. CommonMark syntax MAY be used for rich text representation.", "type": "string" }, "type": { "description": "The type of the security scheme.", "type": "string", "enum": [ "http" ] }, "bearerFormat": { "description": "A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.", "type": "string" }, "scheme": { "description": "The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.", "type": "string", "enum": [ "bearer" ] } }, "patternProperties": { "^x-[\\w\\d\\.\\x2d_]+$": { "$ref": "http://asyncapi.com/definitions/3.1.0/specificationExtension.json" } }, "additionalProperties": false }