github.com/hashicorp/vault/sdk@v0.13.0/framework/testdata/legacy.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      "/lookup/{id}": {
    14        "description": "Synopsis",
    15        "parameters": [
    16          {
    17            "name": "id",
    18            "description": "My id parameter",
    19            "in": "path",
    20            "schema": {
    21              "type": "string"
    22            },
    23            "required": true
    24          }
    25        ],
    26        "get": {
    27          "operationId": "kv-read-lookup-id",
    28          "summary": "Synopsis",
    29          "tags": [
    30            "secrets"
    31          ],
    32          "responses": {
    33            "200": {
    34              "description": "OK"
    35            }
    36          }
    37        },
    38        "post": {
    39          "operationId": "kv-write-lookup-id",
    40          "summary": "Synopsis",
    41          "tags": [
    42            "secrets"
    43          ],
    44          "requestBody": {
    45            "required": true,
    46            "content": {
    47              "application/json": {
    48                "schema": {
    49                  "$ref": "#/components/schemas/KvWriteLookupIdRequest"
    50                }
    51              }
    52            }
    53          },
    54          "responses": {
    55            "200": {
    56              "description": "OK"
    57            }
    58          }
    59        }
    60      }
    61    },
    62    "components": {
    63      "schemas": {
    64        "KvWriteLookupIdRequest": {
    65          "type": "object",
    66          "properties": {
    67            "token": {
    68              "type": "string",
    69              "description": "My token"
    70            }
    71          }
    72        }
    73      }
    74    }
    75  }