星火大宝贝
星火大宝贝 · GPT 작업
FastAPI
POST /v1/chat/completionsChat CompletionGET /Serve ReadmeGET /privacyServe Privacy PolicyGET /openapi.jsonGet Openapi Schema
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "FastAPI",
"version": "0.1.0"
},
"servers": [
{
"url": "https://sparkai-gateway.vercel.app/",
"description": "Spark AI Gateway - Staging"
}
],
"paths": {
"/v1/chat/completions": {
"post": {
"summary": "Chat Completion",
"operationId": "chat_completion_v1_chat_completions_post",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ChatCompletion"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/": {
"get": {
"summary": "Serve Readme",
"operationId": "serve_readme__get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"text/html": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/privacy": {
"get": {
"summary": "Serve Privacy Policy",
"operationId": "serve_privacy_policy_privacy_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"text/html": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/openapi.json": {
"get": {
"summary": "Get Openapi Schema",
"operationId": "get_openapi_schema_openapi_json_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OpenAPI"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"APIKey": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "apiKey"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"in": {
"$ref": "#/components/schemas/APIKeyIn"
},
"name": {
"type": "string",
"title": "Name"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"in",
"name"
],
"title": "APIKey"
},
"APIKeyIn": {
"type": "string",
"enum": [
"query",
"header",
"cookie"
],
"title": "APIKeyIn"
},
"ChatCompletion": {
"properties": {
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.7
},
"max_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Tokens",
"default": 2048
},
"stream": {
"type": "boolean",
"title": "Stream",
"default": false
},
"messages": {
"items": {
"$ref": "#/components/schemas/Message"
},
"type": "array",
"title": "Messages",
"default": []
},
"model": {
"type": "string",
"title": "Model"
},
"n": {
"type": "integer",
"title": "N"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version",
"default": "v1.1"
}
},
"type": "object",
"required": [
"model",
"n"
],
"title": "ChatCompletion"
},
"Components": {
"properties": {
"schemas": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Schemas"
},
"responses": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Response"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Responses"
},
"parameters": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Parameter"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Parameters"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"requestBodies": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/RequestBody"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Requestbodies"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Header"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Headers"
},
"securitySchemes": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/APIKey"
},
{
"$ref": "#/components/schemas/HTTPBase"
},
{
"$ref": "#/components/schemas/OAuth2"
},
{
"$ref": "#/components/schemas/OpenIdConnect"
},
{
"$ref": "#/components/schemas/HTTPBearer"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Securityschemes"
},
"links": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Links"
},
"callbacks": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/PathItem"
},
"type": "object"
},
{
"$ref": "#/components/schemas/Reference"
},
{}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Callbacks"
},
"pathItems": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/PathItem"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Pathitems"
}
},
"additionalProperties": true,
"type": "object",
"title": "Components"
},
"Contact": {
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"url": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "null"
}
],
"title": "Url"
},
"email": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{
"type": "null"
}
],
"title": "Email"
}
},
"additionalProperties": true,
"type": "object",
"title": "Contact"
},
"Discriminator": {
"properties": {
"propertyName": {
"type": "string",
"title": "Propertyname"
},
"mapping": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Mapping"
}
},
"type": "object",
"required": [
"propertyName"
],
"title": "Discriminator"
},
"Encoding": {
"properties": {
"contentType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contenttype"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Header"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Headers"
},
"style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Style"
},
"explode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Explode"
},
"allowReserved": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Allowreserved"
}
},
"additionalProperties": true,
"type": "object",
"title": "Encoding"
},
"Example": {
"properties": {
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"value": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Value"
},
"externalValue": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "null"
}
],
"title": "Externalvalue"
}
},
"additionalProperties": true,
"type": "object",
"title": "Example"
},
"ExternalDocumentation": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"url": {
"type": "string",
"minLength": 1,
"format": "uri",
"title": "Url"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"url"
],
"title": "ExternalDocumentation"
},
"HTTPBase": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "http"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"scheme": {
"type": "string",
"title": "Scheme"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"scheme"
],
"title": "HTTPBase"
},
"HTTPBearer": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "http"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"scheme": {
"const": "bearer",
"title": "Scheme",
"default": "bearer"
},
"bearerFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Bearerformat"
}
},
"additionalProperties": true,
"type": "object",
"title": "HTTPBearer"
},
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"Header": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"required": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Required"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Style"
},
"explode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Explode"
},
"allowReserved": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Allowreserved"
},
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Schema"
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"content": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Content"
}
},
"additionalProperties": true,
"type": "object",
"title": "Header"
},
"Info": {
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"termsOfService": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Termsofservice"
},
"contact": {
"anyOf": [
{
"$ref": "#/components/schemas/Contact"
},
{
"type": "null"
}
]
},
"license": {
"anyOf": [
{
"$ref": "#/components/schemas/License"
},
{
"type": "null"
}
]
},
"version": {
"type": "string",
"title": "Version"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"title",
"version"
],
"title": "Info"
},
"License": {
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Identifier"
},
"url": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "null"
}
],
"title": "Url"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"name"
],
"title": "License"
},
"Link": {
"properties": {
"operationRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Operationref"
},
"operationId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Operationid"
},
"parameters": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{},
{
"type": "string"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Parameters"
},
"requestBody": {
"anyOf": [
{},
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Requestbody"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"server": {
"anyOf": [
{
"$ref": "#/components/schemas/Server"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"title": "Link"
},
"MediaType": {
"properties": {
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Schema"
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"encoding": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/Encoding"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Encoding"
}
},
"additionalProperties": true,
"type": "object",
"title": "MediaType"
},
"Message": {
"properties": {
"role": {
"type": "string",
"title": "Role"
},
"content": {
"type": "string",
"title": "Content"
}
},
"type": "object",
"required": [
"role",
"content"
],
"title": "Message"
},
"OAuth2": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "oauth2"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"flows": {
"$ref": "#/components/schemas/OAuthFlows"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"flows"
],
"title": "OAuth2"
},
"OAuthFlowAuthorizationCode": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"authorizationUrl": {
"type": "string",
"title": "Authorizationurl"
},
"tokenUrl": {
"type": "string",
"title": "Tokenurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"authorizationUrl",
"tokenUrl"
],
"title": "OAuthFlowAuthorizationCode"
},
"OAuthFlowClientCredentials": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"tokenUrl": {
"type": "string",
"title": "Tokenurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"tokenUrl"
],
"title": "OAuthFlowClientCredentials"
},
"OAuthFlowImplicit": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"authorizationUrl": {
"type": "string",
"title": "Authorizationurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"authorizationUrl"
],
"title": "OAuthFlowImplicit"
},
"OAuthFlowPassword": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"tokenUrl": {
"type": "string",
"title": "Tokenurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"tokenUrl"
],
"title": "OAuthFlowPassword"
},
"OAuthFlows": {
"properties": {
"implicit": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowImplicit"
},
{
"type": "null"
}
]
},
"password": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowPassword"
},
{
"type": "null"
}
]
},
"clientCredentials": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowClientCredentials"
},
{
"type": "null"
}
]
},
"authorizationCode": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowAuthorizationCode"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"title": "OAuthFlows"
},
"OpenAPI": {
"properties": {
"openapi": {
"type": "string",
"title": "Openapi"
},
"info": {
"$ref": "#/components/schemas/Info"
},
"jsonSchemaDialect": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Jsonschemadialect"
},
"servers": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Server"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Servers"
},
"paths": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/PathItem"
},
{}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Paths"
},
"webhooks": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/PathItem"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Webhooks"
},
"components": {
"anyOf": [
{
"$ref": "#/components/schemas/Components"
},
{
"type": "null"
}
]
},
"security": {
"anyOf": [
{
"items": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Security"
},
"tags": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Tag"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"required": [
"openapi",
"info"
],
"title": "OpenAPI"
},
"OpenIdConnect": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "openIdConnect"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"openIdConnectUrl": {
"type": "string",
"title": "Openidconnecturl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"openIdConnectUrl"
],
"title": "OpenIdConnect"
},
"Operation": {
"properties": {
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
},
"operationId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Operationid"
},
"parameters": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Parameter"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Parameters"
},
"requestBody": {
"anyOf": [
{
"$ref": "#/components/schemas/RequestBody"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Requestbody"
},
"responses": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Response"
},
{}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Responses"
},
"callbacks": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/PathItem"
},
"type": "object"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Callbacks"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"security": {
"anyOf": [
{
"items": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Security"
},
"servers": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Server"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Servers"
}
},
"additionalProperties": true,
"type": "object",
"title": "Operation"
},
"Parameter": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"required": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Required"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Style"
},
"explode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Explode"
},
"allowReserved": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Allowreserved"
},
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Schema"
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"content": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Content"
},
"name": {
"type": "string",
"title": "Name"
},
"in": {
"$ref": "#/components/schemas/ParameterInType"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"name",
"in"
],
"title": "Parameter"
},
"ParameterInType": {
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie"
],
"title": "ParameterInType"
},
"PathItem": {
"properties": {
"$ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Ref"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"get": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"put": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"post": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"delete": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"options": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"head": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"patch": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"trace": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"servers": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Server"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Servers"
},
"parameters": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Parameter"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Parameters"
}
},
"additionalProperties": true,
"type": "object",
"title": "PathItem"
},
"Reference": {
"properties": {
"$ref": {
"type": "string",
"title": "$Ref"
}
},
"type": "object",
"required": [
"$ref"
],
"title": "Reference"
},
"RequestBody": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"content": {
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object",
"title": "Content"
},
"required": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Required"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"content"
],
"title": "RequestBody"
},
"Response": {
"properties": {
"description": {
"type": "string",
"title": "Description"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Header"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Headers"
},
"content": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Content"
},
"links": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Links"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"description"
],
"title": "Response"
},
"Schema": {
"properties": {
"$schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Schema"
},
"$vocabulary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Vocabulary"
},
"$id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Id"
},
"$anchor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Anchor"
},
"$dynamicAnchor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Dynamicanchor"
},
"$ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Ref"
},
"$dynamicRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Dynamicref"
},
"$defs": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "$Defs"
},
"$comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Comment"
},
"allOf": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Allof"
},
"anyOf": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Anyof"
},
"oneOf": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Oneof"
},
"not": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Not"
},
"if": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "If"
},
"then": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Then"
},
"else": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Else"
},
"dependentSchemas": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Dependentschemas"
},
"prefixItems": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Prefixitems"
},
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Items"
},
"contains": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Contains"
},
"properties": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Properties"
},
"patternProperties": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Patternproperties"
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Additionalproperties"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Propertynames"
},
"unevaluatedItems": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Unevaluateditems"
},
"unevaluatedProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Unevaluatedproperties"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type"
},
"enum": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"title": "Enum"
},
"const": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Const"
},
"multipleOf": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Multipleof"
},
"maximum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Maximum"
},
"exclusiveMaximum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Exclusivemaximum"
},
"minimum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Minimum"
},
"exclusiveMinimum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Exclusiveminimum"
},
"maxLength": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxlength"
},
"minLength": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Minlength"
},
"pattern": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Pattern"
},
"maxItems": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxitems"
},
"minItems": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Minitems"
},
"uniqueItems": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Uniqueitems"
},
"maxContains": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxcontains"
},
"minContains": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Mincontains"
},
"maxProperties": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxproperties"
},
"minProperties": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Minproperties"
},
"required": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Required"
},
"dependentRequired": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Dependentrequired"
},
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Format"
},
"contentEncoding": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contentencoding"
},
"contentMediaType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contentmediatype"
},
"contentSchema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Contentschema"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"default": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Default"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"readOnly": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Readonly"
},
"writeOnly": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Writeonly"
},
"examples": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"title": "Examples"
},
"discriminator": {
"anyOf": [
{
"$ref": "#/components/schemas/Discriminator"
},
{
"type": "null"
}
]
},
"xml": {
"anyOf": [
{
"$ref": "#/components/schemas/XML"
},
{
"type": "null"
}
]
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
}
},
"additionalProperties": true,
"type": "object",
"title": "Schema"
},
"SecuritySchemeType": {
"type": "string",
"enum": [
"apiKey",
"http",
"oauth2",
"openIdConnect"
],
"title": "SecuritySchemeType"
},
"Server": {
"properties": {
"url": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "string"
}
],
"title": "Url"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"variables": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/ServerVariable"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Variables"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"url"
],
"title": "Server"
},
"ServerVariable": {
"properties": {
"enum": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array",
"minItems": 1
},
{
"type": "null"
}
],
"title": "Enum"
},
"default": {
"type": "string",
"title": "Default"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"default"
],
"title": "ServerVariable"
},
"Tag": {
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"required": [
"name"
],
"title": "Tag"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
},
"XML": {
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Namespace"
},
"prefix": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prefix"
},
"attribute": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Attribute"
},
"wrapped": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Wrapped"
}
},
"additionalProperties": true,
"type": "object",
"title": "XML"
}
}
}
}FastAPI
POST /v1/chat/completionsChat CompletionGET /Serve ReadmeGET /privacyServe Privacy PolicyGET /openapi.jsonGet Openapi Schema
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "FastAPI",
"version": "0.1.0"
},
"servers": [
{
"url": "https://sparkai-gateway.vercel.app/",
"description": "Spark AI Gateway - Staging"
}
],
"paths": {
"/v1/chat/completions": {
"post": {
"summary": "Chat Completion",
"operationId": "chat_completion_v1_chat_completions_post",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ChatCompletion"
}
}
}
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/": {
"get": {
"summary": "Serve Readme",
"operationId": "serve_readme__get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"text/html": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/privacy": {
"get": {
"summary": "Serve Privacy Policy",
"operationId": "serve_privacy_policy_privacy_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"text/html": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/openapi.json": {
"get": {
"summary": "Get Openapi Schema",
"operationId": "get_openapi_schema_openapi_json_get",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/OpenAPI"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"APIKey": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "apiKey"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"in": {
"$ref": "#/components/schemas/APIKeyIn"
},
"name": {
"type": "string",
"title": "Name"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"in",
"name"
],
"title": "APIKey"
},
"APIKeyIn": {
"type": "string",
"enum": [
"query",
"header",
"cookie"
],
"title": "APIKeyIn"
},
"ChatCompletion": {
"properties": {
"temperature": {
"type": "number",
"title": "Temperature",
"default": 0.7
},
"max_tokens": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Tokens",
"default": 2048
},
"stream": {
"type": "boolean",
"title": "Stream",
"default": false
},
"messages": {
"items": {
"$ref": "#/components/schemas/Message"
},
"type": "array",
"title": "Messages",
"default": []
},
"model": {
"type": "string",
"title": "Model"
},
"n": {
"type": "integer",
"title": "N"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version",
"default": "v1.1"
}
},
"type": "object",
"required": [
"model",
"n"
],
"title": "ChatCompletion"
},
"Components": {
"properties": {
"schemas": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Schemas"
},
"responses": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Response"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Responses"
},
"parameters": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Parameter"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Parameters"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"requestBodies": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/RequestBody"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Requestbodies"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Header"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Headers"
},
"securitySchemes": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/APIKey"
},
{
"$ref": "#/components/schemas/HTTPBase"
},
{
"$ref": "#/components/schemas/OAuth2"
},
{
"$ref": "#/components/schemas/OpenIdConnect"
},
{
"$ref": "#/components/schemas/HTTPBearer"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Securityschemes"
},
"links": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Links"
},
"callbacks": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/PathItem"
},
"type": "object"
},
{
"$ref": "#/components/schemas/Reference"
},
{}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Callbacks"
},
"pathItems": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/PathItem"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Pathitems"
}
},
"additionalProperties": true,
"type": "object",
"title": "Components"
},
"Contact": {
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"url": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "null"
}
],
"title": "Url"
},
"email": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{
"type": "null"
}
],
"title": "Email"
}
},
"additionalProperties": true,
"type": "object",
"title": "Contact"
},
"Discriminator": {
"properties": {
"propertyName": {
"type": "string",
"title": "Propertyname"
},
"mapping": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Mapping"
}
},
"type": "object",
"required": [
"propertyName"
],
"title": "Discriminator"
},
"Encoding": {
"properties": {
"contentType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contenttype"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Header"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Headers"
},
"style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Style"
},
"explode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Explode"
},
"allowReserved": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Allowreserved"
}
},
"additionalProperties": true,
"type": "object",
"title": "Encoding"
},
"Example": {
"properties": {
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"value": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Value"
},
"externalValue": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "null"
}
],
"title": "Externalvalue"
}
},
"additionalProperties": true,
"type": "object",
"title": "Example"
},
"ExternalDocumentation": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"url": {
"type": "string",
"minLength": 1,
"format": "uri",
"title": "Url"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"url"
],
"title": "ExternalDocumentation"
},
"HTTPBase": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "http"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"scheme": {
"type": "string",
"title": "Scheme"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"scheme"
],
"title": "HTTPBase"
},
"HTTPBearer": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "http"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"scheme": {
"const": "bearer",
"title": "Scheme",
"default": "bearer"
},
"bearerFormat": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Bearerformat"
}
},
"additionalProperties": true,
"type": "object",
"title": "HTTPBearer"
},
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
},
"Header": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"required": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Required"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Style"
},
"explode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Explode"
},
"allowReserved": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Allowreserved"
},
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Schema"
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"content": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Content"
}
},
"additionalProperties": true,
"type": "object",
"title": "Header"
},
"Info": {
"properties": {
"title": {
"type": "string",
"title": "Title"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"termsOfService": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Termsofservice"
},
"contact": {
"anyOf": [
{
"$ref": "#/components/schemas/Contact"
},
{
"type": "null"
}
]
},
"license": {
"anyOf": [
{
"$ref": "#/components/schemas/License"
},
{
"type": "null"
}
]
},
"version": {
"type": "string",
"title": "Version"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"title",
"version"
],
"title": "Info"
},
"License": {
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"identifier": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Identifier"
},
"url": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "null"
}
],
"title": "Url"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"name"
],
"title": "License"
},
"Link": {
"properties": {
"operationRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Operationref"
},
"operationId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Operationid"
},
"parameters": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{},
{
"type": "string"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Parameters"
},
"requestBody": {
"anyOf": [
{},
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Requestbody"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"server": {
"anyOf": [
{
"$ref": "#/components/schemas/Server"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"title": "Link"
},
"MediaType": {
"properties": {
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Schema"
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"encoding": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/Encoding"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Encoding"
}
},
"additionalProperties": true,
"type": "object",
"title": "MediaType"
},
"Message": {
"properties": {
"role": {
"type": "string",
"title": "Role"
},
"content": {
"type": "string",
"title": "Content"
}
},
"type": "object",
"required": [
"role",
"content"
],
"title": "Message"
},
"OAuth2": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "oauth2"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"flows": {
"$ref": "#/components/schemas/OAuthFlows"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"flows"
],
"title": "OAuth2"
},
"OAuthFlowAuthorizationCode": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"authorizationUrl": {
"type": "string",
"title": "Authorizationurl"
},
"tokenUrl": {
"type": "string",
"title": "Tokenurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"authorizationUrl",
"tokenUrl"
],
"title": "OAuthFlowAuthorizationCode"
},
"OAuthFlowClientCredentials": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"tokenUrl": {
"type": "string",
"title": "Tokenurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"tokenUrl"
],
"title": "OAuthFlowClientCredentials"
},
"OAuthFlowImplicit": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"authorizationUrl": {
"type": "string",
"title": "Authorizationurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"authorizationUrl"
],
"title": "OAuthFlowImplicit"
},
"OAuthFlowPassword": {
"properties": {
"refreshUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Refreshurl"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"type": "object",
"title": "Scopes",
"default": {}
},
"tokenUrl": {
"type": "string",
"title": "Tokenurl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"tokenUrl"
],
"title": "OAuthFlowPassword"
},
"OAuthFlows": {
"properties": {
"implicit": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowImplicit"
},
{
"type": "null"
}
]
},
"password": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowPassword"
},
{
"type": "null"
}
]
},
"clientCredentials": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowClientCredentials"
},
{
"type": "null"
}
]
},
"authorizationCode": {
"anyOf": [
{
"$ref": "#/components/schemas/OAuthFlowAuthorizationCode"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"title": "OAuthFlows"
},
"OpenAPI": {
"properties": {
"openapi": {
"type": "string",
"title": "Openapi"
},
"info": {
"$ref": "#/components/schemas/Info"
},
"jsonSchemaDialect": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Jsonschemadialect"
},
"servers": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Server"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Servers"
},
"paths": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/PathItem"
},
{}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Paths"
},
"webhooks": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/PathItem"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Webhooks"
},
"components": {
"anyOf": [
{
"$ref": "#/components/schemas/Components"
},
{
"type": "null"
}
]
},
"security": {
"anyOf": [
{
"items": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Security"
},
"tags": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Tag"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"required": [
"openapi",
"info"
],
"title": "OpenAPI"
},
"OpenIdConnect": {
"properties": {
"type": {
"allOf": [
{
"$ref": "#/components/schemas/SecuritySchemeType"
}
],
"default": "openIdConnect"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"openIdConnectUrl": {
"type": "string",
"title": "Openidconnecturl"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"openIdConnectUrl"
],
"title": "OpenIdConnect"
},
"Operation": {
"properties": {
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
},
"operationId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Operationid"
},
"parameters": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Parameter"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Parameters"
},
"requestBody": {
"anyOf": [
{
"$ref": "#/components/schemas/RequestBody"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Requestbody"
},
"responses": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Response"
},
{}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Responses"
},
"callbacks": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/PathItem"
},
"type": "object"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Callbacks"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"security": {
"anyOf": [
{
"items": {
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array"
},
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Security"
},
"servers": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Server"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Servers"
}
},
"additionalProperties": true,
"type": "object",
"title": "Operation"
},
"Parameter": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"required": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Required"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"style": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Style"
},
"explode": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Explode"
},
"allowReserved": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Allowreserved"
},
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"$ref": "#/components/schemas/Reference"
},
{
"type": "null"
}
],
"title": "Schema"
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
},
"examples": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Example"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Examples"
},
"content": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Content"
},
"name": {
"type": "string",
"title": "Name"
},
"in": {
"$ref": "#/components/schemas/ParameterInType"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"name",
"in"
],
"title": "Parameter"
},
"ParameterInType": {
"type": "string",
"enum": [
"query",
"header",
"path",
"cookie"
],
"title": "ParameterInType"
},
"PathItem": {
"properties": {
"$ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Ref"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"get": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"put": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"post": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"delete": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"options": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"head": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"patch": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"trace": {
"anyOf": [
{
"$ref": "#/components/schemas/Operation"
},
{
"type": "null"
}
]
},
"servers": {
"anyOf": [
{
"items": {
"$ref": "#/components/schemas/Server"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Servers"
},
"parameters": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Parameter"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Parameters"
}
},
"additionalProperties": true,
"type": "object",
"title": "PathItem"
},
"Reference": {
"properties": {
"$ref": {
"type": "string",
"title": "$Ref"
}
},
"type": "object",
"required": [
"$ref"
],
"title": "Reference"
},
"RequestBody": {
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"content": {
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object",
"title": "Content"
},
"required": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Required"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"content"
],
"title": "RequestBody"
},
"Response": {
"properties": {
"description": {
"type": "string",
"title": "Description"
},
"headers": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Header"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Headers"
},
"content": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/MediaType"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Content"
},
"links": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Link"
},
{
"$ref": "#/components/schemas/Reference"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Links"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"description"
],
"title": "Response"
},
"Schema": {
"properties": {
"$schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Schema"
},
"$vocabulary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Vocabulary"
},
"$id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Id"
},
"$anchor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Anchor"
},
"$dynamicAnchor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Dynamicanchor"
},
"$ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Ref"
},
"$dynamicRef": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Dynamicref"
},
"$defs": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "$Defs"
},
"$comment": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "$Comment"
},
"allOf": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Allof"
},
"anyOf": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Anyof"
},
"oneOf": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Oneof"
},
"not": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Not"
},
"if": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "If"
},
"then": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Then"
},
"else": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Else"
},
"dependentSchemas": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Dependentschemas"
},
"prefixItems": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Prefixitems"
},
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"items": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Items"
},
"contains": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Contains"
},
"properties": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Properties"
},
"patternProperties": {
"anyOf": [
{
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
}
]
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Patternproperties"
},
"additionalProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Additionalproperties"
},
"propertyNames": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Propertynames"
},
"unevaluatedItems": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Unevaluateditems"
},
"unevaluatedProperties": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Unevaluatedproperties"
},
"type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type"
},
"enum": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"title": "Enum"
},
"const": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Const"
},
"multipleOf": {
"anyOf": [
{
"type": "number",
"exclusiveMinimum": 0
},
{
"type": "null"
}
],
"title": "Multipleof"
},
"maximum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Maximum"
},
"exclusiveMaximum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Exclusivemaximum"
},
"minimum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Minimum"
},
"exclusiveMinimum": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Exclusiveminimum"
},
"maxLength": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxlength"
},
"minLength": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Minlength"
},
"pattern": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Pattern"
},
"maxItems": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxitems"
},
"minItems": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Minitems"
},
"uniqueItems": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Uniqueitems"
},
"maxContains": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxcontains"
},
"minContains": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Mincontains"
},
"maxProperties": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Maxproperties"
},
"minProperties": {
"anyOf": [
{
"type": "integer",
"minimum": 0
},
{
"type": "null"
}
],
"title": "Minproperties"
},
"required": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Required"
},
"dependentRequired": {
"anyOf": [
{
"additionalProperties": {
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Dependentrequired"
},
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Format"
},
"contentEncoding": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contentencoding"
},
"contentMediaType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contentmediatype"
},
"contentSchema": {
"anyOf": [
{
"$ref": "#/components/schemas/Schema"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Contentschema"
},
"title": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Title"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"default": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Default"
},
"deprecated": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Deprecated"
},
"readOnly": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Readonly"
},
"writeOnly": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Writeonly"
},
"examples": {
"anyOf": [
{
"items": {},
"type": "array"
},
{
"type": "null"
}
],
"title": "Examples"
},
"discriminator": {
"anyOf": [
{
"$ref": "#/components/schemas/Discriminator"
},
{
"type": "null"
}
]
},
"xml": {
"anyOf": [
{
"$ref": "#/components/schemas/XML"
},
{
"type": "null"
}
]
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
},
"example": {
"anyOf": [
{},
{
"type": "null"
}
],
"title": "Example"
}
},
"additionalProperties": true,
"type": "object",
"title": "Schema"
},
"SecuritySchemeType": {
"type": "string",
"enum": [
"apiKey",
"http",
"oauth2",
"openIdConnect"
],
"title": "SecuritySchemeType"
},
"Server": {
"properties": {
"url": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"format": "uri"
},
{
"type": "string"
}
],
"title": "Url"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"variables": {
"anyOf": [
{
"additionalProperties": {
"$ref": "#/components/schemas/ServerVariable"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Variables"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"url"
],
"title": "Server"
},
"ServerVariable": {
"properties": {
"enum": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array",
"minItems": 1
},
{
"type": "null"
}
],
"title": "Enum"
},
"default": {
"type": "string",
"title": "Default"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"default"
],
"title": "ServerVariable"
},
"Tag": {
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"externalDocs": {
"anyOf": [
{
"$ref": "#/components/schemas/ExternalDocumentation"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true,
"type": "object",
"required": [
"name"
],
"title": "Tag"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
},
"XML": {
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Namespace"
},
"prefix": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prefix"
},
"attribute": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Attribute"
},
"wrapped": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Wrapped"
}
},
"additionalProperties": true,
"type": "object",
"title": "XML"
}
}
}
}