{ "openapi": "3.0.2", "info": { "title": "HashiCorp Vault API", "description": "HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.", "version": "", "license": { "name": "Mozilla Public License 2.0", "url": "https://www.mozilla.org/en-US/MPL/2.0" } }, "paths": { "/foo/{id}": { "description": "Synopsis", "x-vault-create-supported": true, "x-vault-sudo": true, "parameters": [ { "name": "id", "description": "id path parameter", "in": "path", "schema": { "type": "string" }, "required": true }, { "name": "x-abc-token", "description": "a header value", "in": "header", "schema": { "type": "string" } } ], "get": { "tags": ["secrets"], "summary": "My Summary", "description": "My Description", "responses": { "200": { "description": "OK" } }, "parameters": [ { "name": "list", "description": "Return a list if `true`", "in": "query", "schema": { "type": "string" } } ] }, "post": { "tags": ["secrets"], "summary": "Update Summary", "description": "Update Description", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "flavors": { "type": "array", "description": "the flavors", "items": { "type": "string" } }, "name": { "type": "string", "description": "the name", "pattern": "\\w([\\w-.]*\\w)?" } } } } } }, "responses": { "200": { "description": "OK" } } } } } }