From 92c4e769ab5d1348f0742f0aef8577f6761d9d6e Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Sun, 23 Jun 2024 13:08:52 -0600 Subject: [PATCH] refactor: add tags to openAPI --- server/api/root.ts | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/server/api/root.ts b/server/api/root.ts index fd84da2f..3abbfbf2 100644 --- a/server/api/root.ts +++ b/server/api/root.ts @@ -65,12 +65,29 @@ export const openApiDocument = generateOpenApiDocument(appRouter, { version: "1.0.0", baseUrl: "http://localhost:3000/api/trpc", docsUrl: "http://localhost:3000/api/trpc/settings.getOpenApiDocument", - securitySchemes: { - bearerAuth: { - type: "http", - scheme: "bearer", - bearerFormat: "JWT", - }, - }, - description: "Dokploy API", + tags: [ + "admin", + "docker", + "compose", + "registry", + "cluster", + "user", + "domain", + "destination", + "backup", + "deployment", + "mounts", + "certificates", + "settings", + "security", + "redirects", + "port", + "project", + "application", + "mysql", + "postgres", + "redis", + "mongo", + "mariadb", + ], });