github.com/hashicorp/vault/sdk@v0.13.0/framework/testdata/operations_list.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/{id}/": {
    14        "description": "Synopsis",
    15        "parameters": [
    16          {
    17            "name": "id",
    18            "description": "id path parameter",
    19            "in": "path",
    20            "schema": {
    21              "type": "string"
    22            },
    23            "required": true
    24          }
    25        ],
    26        "x-vault-sudo": true,
    27        "x-vault-displayAttrs": {
    28          "navigation": true
    29        },
    30        "get": {
    31          "summary": "List Summary",
    32          "description": "List Description",
    33          "operationId": "kv-list-foo-id",
    34          "tags": [
    35            "secrets"
    36          ],
    37          "parameters": [
    38            {
    39              "name": "format",
    40              "description": "a query param",
    41              "in": "query",
    42              "schema": {
    43                "type": "string"
    44              }
    45            },
    46            {
    47              "name": "list",
    48              "description": "Must be set to `true`",
    49              "in": "query",
    50              "schema": {
    51                "type": "string",
    52                "enum": [
    53                  "true"
    54                ]
    55              },
    56              "required": true
    57            }
    58          ],
    59          "responses": {
    60            "200": {
    61              "description": "OK",
    62              "content": {
    63                "application/json": {
    64                  "schema": {
    65                    "$ref": "#/components/schemas/StandardListResponse"
    66                  }
    67                }
    68              }
    69            }
    70          }
    71        }
    72      }
    73    },
    74    "components": {
    75      "schemas": {
    76        "StandardListResponse": {
    77          "type": "object",
    78          "properties": {
    79            "keys": {
    80              "type": "array",
    81              "items": {
    82                "type": "string"
    83              }
    84            }
    85          }
    86        }
    87      }
    88    }
    89  }