github.com/hashicorp/vault/sdk@v0.13.0/framework/testdata/responses.json (about) 1 { 2 "openapi": "3.0.2", 3 "info": { 4 "title": "HashiCorp Vault API", 5 "description": "HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.", 6 "version": "<vault_version>", 7 "license": { 8 "name": "Mozilla Public License 2.0", 9 "url": "https://www.mozilla.org/en-US/MPL/2.0" 10 } 11 }, 12 "paths": { 13 "/foo": { 14 "description": "Synopsis", 15 "x-vault-unauthenticated": true, 16 "delete": { 17 "operationId": "kv-delete-foo", 18 "tags": [ 19 "secrets" 20 ], 21 "summary": "Delete stuff", 22 "responses": { 23 "204": { 24 "description": "empty body" 25 } 26 } 27 }, 28 "get": { 29 "operationId": "kv-read-foo", 30 "tags": [ 31 "secrets" 32 ], 33 "summary": "My Summary", 34 "description": "My Description", 35 "responses": { 36 "202": { 37 "description": "Amazing", 38 "content": { 39 "application/json": { 40 "schema": { 41 "$ref": "#/components/schemas/KvReadFooResponse" 42 } 43 } 44 } 45 } 46 } 47 } 48 } 49 }, 50 "components": { 51 "schemas": { 52 "KvReadFooResponse": { 53 "type": "object", 54 "properties": { 55 "field_a": { 56 "type": "string", 57 "description": "field_a description" 58 }, 59 "field_b": { 60 "type": "boolean", 61 "description": "field_b description" 62 } 63 } 64 } 65 } 66 } 67 }