feat: adds apikeyAuth in swagger ui for all endpoints
This commit is contained in:
1 parent
5013ea2ef5
commit
25a2a405da
38 files changed
+164
-1
No files matched your search
@@ -23,6 +23,8 @@ import {
|
||||
* type: integer
|
||||
* required: true
|
||||
* description: Numeric ID of the credential to get
|
||||
* security:
|
||||
* - ApiKeyAuth: []
|
||||
* tags:
|
||||
* - credentials
|
||||
* responses:
|
||||
@@ -50,6 +52,8 @@ import {
|
||||
* type: integer
|
||||
* required: true
|
||||
* description: Numeric ID of the credential to edit
|
||||
* security:
|
||||
* - ApiKeyAuth: []
|
||||
* tags:
|
||||
* - credentials
|
||||
* responses:
|
||||
@@ -69,6 +73,8 @@ import {
|
||||
* type: integer
|
||||
* required: true
|
||||
* description: Numeric ID of the credential to delete
|
||||
* security:
|
||||
* - ApiKeyAuth: []
|
||||
* tags:
|
||||
* - credentials
|
||||
* responses:
|
||||
|
||||
@@ -12,6 +12,8 @@ import { schemaCredentialBodyParams, schemaCredentialPublic } from "@lib/validat
|
||||
* /api/credentials:
|
||||
* get:
|
||||
* summary: Get all credentials
|
||||
* security:
|
||||
* - ApiKeyAuth: []
|
||||
* tags:
|
||||
* - credentials
|
||||
* responses:
|
||||
@@ -23,6 +25,8 @@ import { schemaCredentialBodyParams, schemaCredentialPublic } from "@lib/validat
|
||||
* description: No credentials were found
|
||||
* post:
|
||||
* summary: Creates a new credential
|
||||
* security:
|
||||
* - ApiKeyAuth: []
|
||||
* tags:
|
||||
* - credentials
|
||||
* responses:
|
||||
|
||||
Reference in new issue
Block a user