2022-01-18 17:21:44 +00:00
|
|
|
{
|
|
|
|
"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": "<vault_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-sudo": true,
|
|
|
|
"x-vault-displayAttrs": {
|
|
|
|
"navigation": true
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "format",
|
|
|
|
"description": "a query param",
|
|
|
|
"in": "query",
|
|
|
|
"schema": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "id",
|
|
|
|
"description": "id path parameter",
|
|
|
|
"in": "path",
|
|
|
|
"schema": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"get": {
|
2023-04-04 17:14:40 +00:00
|
|
|
"operationId": "kv-list-foo-id",
|
|
|
|
"tags": [
|
|
|
|
"secrets"
|
|
|
|
],
|
2022-01-18 17:21:44 +00:00
|
|
|
"summary": "List Summary",
|
|
|
|
"description": "List Description",
|
|
|
|
"responses": {
|
|
|
|
"200": {
|
|
|
|
"description": "OK"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "list",
|
|
|
|
"description": "Must be set to `true`",
|
|
|
|
"required": true,
|
|
|
|
"in": "query",
|
|
|
|
"schema": {
|
|
|
|
"type": "string",
|
2023-04-04 17:14:40 +00:00
|
|
|
"enum": [
|
|
|
|
"true"
|
|
|
|
]
|
2022-01-18 17:21:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2022-03-12 00:00:26 +00:00
|
|
|
},
|
|
|
|
"components": {
|
2023-04-04 17:14:40 +00:00
|
|
|
"schemas": {}
|
2022-01-18 17:21:44 +00:00
|
|
|
}
|
|
|
|
}
|