diff --git a/spec/rails/doc/openapi.json b/spec/rails/doc/openapi.json index 6c74db1..852e6e8 100644 --- a/spec/rails/doc/openapi.json +++ b/spec/rails/doc/openapi.json @@ -341,6 +341,32 @@ } } }, + "/secret_items": { + "get": { + "summary": "index", + "tags": [ + "SecretItem" + ], + "security": [ + { + "SecretApiKeyAuth": [] + } + ], + "responses": { + "401": { + "description": "authorizes with secret key", + "content": { + "text/html": { + "schema": { + "type": "string" + }, + "example": "" + } + } + } + } + } + }, "/tables": { "get": { "summary": "index", @@ -1035,5 +1061,14 @@ } } } + }, + "components": { + "securitySchemes": { + "SecretApiKeyAuth": { + "type": "apiKey", + "in": "header", + "name": "Secret-Key" + } + } } } \ No newline at end of file