feat: adds apikeyAuth in swagger ui for all endpoints

This commit is contained in:
Agusti Fernandez Pardo committed 2022-04-17 16:39:38 +02:00
1 parent 5013ea2ef5
commit 25a2a405da
38 files changed
+164 -1

No files matched your search

+6
View File
@@ -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:
+4
View File
@@ -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: