{ "components": { "schemas": { "context": { "description": "The configuration for searching one or more", "properties": { "id": { "type": "string", "format": "uuid", "description": "This resources id." } }, "required": [ "id" ], "type": "object" }, "locale": { "description": "An enumeration of allowed locales. Possible values: en-US,en-GB.", "enum": [ "en-US", "en-GB" ], "type": "string" } } }, "info": { "contact": {}, "license": {}, "termsOfService": "", "title": "test-local-defined-enum-as-header-value", "version": "0.0.1" }, "openapi": "3.0.2", "paths": { "/contexts/:id": { "get": { "description": "Gets the Context resource with the id of :id", "operationId": "get--contexts-id", "parameters": [ { "deprecated": false, "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" }, "name": "id" }, { "deprecated": false, "in": "query", "required": false, "schema": { "$ref": "#/components/schemas/locale" }, "description": "Allows a user to explicitly request content in a preferred language", "name": "lang" } ], "responses": { "200": { "description": "org.bml.test.local.defined.enum.as.header.value.v0.models.context", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/context" } } }, "headers": { "Content-Language": { "description": "Header generated from Apibuilder spec of type locale. The Content-Language entity header is used to describe the language of the response contents intended audience", "required": true } } } }, "tags": [ "context" ] } } }, "servers": [ {} ] }