Skip to content

Commit

Permalink
Update spec/rails/doc/openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ipepe committed Jan 8, 2024
1 parent 691b80c commit 767c86c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions spec/rails/doc/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,21 @@ paths:
schema:
type: string
example: ANOTHER TEST
"/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
Expand Down Expand Up @@ -678,3 +693,9 @@ paths:
schema:
type: string
example: A TEST
components:
securitySchemes:
SecretApiKeyAuth:
type: apiKey
in: header
name: Secret-Key

0 comments on commit 767c86c

Please sign in to comment.