Feat: Remove API key auth documentation

This commit is contained in:
Daniel Hougaard
2024-04-18 20:51:31 +02:00
parent 5537b00a26
commit 03848b30a2
+5 -10
View File
@@ -158,8 +158,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
description: "List secrets", description: "List secrets",
security: [ security: [
{ {
bearerAuth: [], bearerAuth: []
apiKeyAuth: []
} }
], ],
querystring: z.object({ querystring: z.object({
@@ -280,8 +279,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
description: "Get a secret by name", description: "Get a secret by name",
security: [ security: [
{ {
bearerAuth: [], bearerAuth: []
apiKeyAuth: []
} }
], ],
params: z.object({ params: z.object({
@@ -375,8 +373,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
description: "Create secret", description: "Create secret",
security: [ security: [
{ {
bearerAuth: [], bearerAuth: []
apiKeyAuth: []
} }
], ],
params: z.object({ params: z.object({
@@ -464,8 +461,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
description: "Update secret", description: "Update secret",
security: [ security: [
{ {
bearerAuth: [], bearerAuth: []
apiKeyAuth: []
} }
], ],
params: z.object({ params: z.object({
@@ -550,8 +546,7 @@ export const registerSecretRouter = async (server: FastifyZodProvider) => {
description: "Delete secret", description: "Delete secret",
security: [ security: [
{ {
bearerAuth: [], bearerAuth: []
apiKeyAuth: []
} }
], ],
params: z.object({ params: z.object({