mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: add tags to openAPI
This commit is contained in:
parent
0801e91816
commit
92c4e769ab
@ -65,12 +65,29 @@ export const openApiDocument = generateOpenApiDocument(appRouter, {
|
|||||||
version: "1.0.0",
|
version: "1.0.0",
|
||||||
baseUrl: "http://localhost:3000/api/trpc",
|
baseUrl: "http://localhost:3000/api/trpc",
|
||||||
docsUrl: "http://localhost:3000/api/trpc/settings.getOpenApiDocument",
|
docsUrl: "http://localhost:3000/api/trpc/settings.getOpenApiDocument",
|
||||||
securitySchemes: {
|
tags: [
|
||||||
bearerAuth: {
|
"admin",
|
||||||
type: "http",
|
"docker",
|
||||||
scheme: "bearer",
|
"compose",
|
||||||
bearerFormat: "JWT",
|
"registry",
|
||||||
},
|
"cluster",
|
||||||
},
|
"user",
|
||||||
description: "Dokploy API",
|
"domain",
|
||||||
|
"destination",
|
||||||
|
"backup",
|
||||||
|
"deployment",
|
||||||
|
"mounts",
|
||||||
|
"certificates",
|
||||||
|
"settings",
|
||||||
|
"security",
|
||||||
|
"redirects",
|
||||||
|
"port",
|
||||||
|
"project",
|
||||||
|
"application",
|
||||||
|
"mysql",
|
||||||
|
"postgres",
|
||||||
|
"redis",
|
||||||
|
"mongo",
|
||||||
|
"mariadb",
|
||||||
|
],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user