{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/APIVersionRequest", "title": "API Version Request", "type": "object", "properties": { "version": { "description": "The version of the api.", "type": "string", "example": "1.0.0" }, "spec": { "type": "object", "additionalProperties": false, "properties": { "content": { "description": "The raw content of API specification, in json or yaml format (OpenAPI or AsyncAPI).", "example": "{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Example API\",\"version\":\"1.0.0\"},\"paths\":{\"/example\":{\"get\":{\"summary\":\"Example endpoint\",\"responses\":{\"200\":{\"description\":\"Successful response\"}}}}}}", "type": "string" } } } }, "additionalProperties": false }