{ "name": "test-local-defined-enum-as-header-value", "apidoc": { "version": "0.14.68" }, "enums": { "locale": { "description": "An enumeration of allowed locales", "values": [ { "name": "en-US", "description": "English language United States dialect" }, { "name": "en-GB", "description": "English language Great Britain dialect" } ] } }, "models": { "context": { "description": "The configuration for searching one or more", "fields": [ { "name": "id", "description": "This resources id.", "type": "uuid" } ] } }, "resources": { "context": { "operations": [ { "method": "GET", "path": "/:id", "description": "Gets the Context resource with the id of :id", "parameters": [ { "name": "lang", "description": "Allows a user to explicitly request content in a preferred language", "required": false, "type": "locale", "example": "en-US", "maximum": 32 } ], "responses": { "200": { "type": "context", "headers": [ { "name": "Content-Language", "description": "The Content-Language entity header is used to describe the language of the response contents intended audience", "location": "header", "type": "locale", "default": "en-US" } ] } } } ] } } }