chore: update openapi meta tags
This commit is contained in:
@@ -17,7 +17,7 @@ export const memberRouter = createTRPCRouter({
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
path: "/workspaces/{workspacePublicId}/members/invite",
|
path: "/workspaces/{workspacePublicId}/members/invite",
|
||||||
description: "Invites a member to a workspace",
|
description: "Invites a member to a workspace",
|
||||||
tags: ["Members"],
|
tags: ["Workspaces"],
|
||||||
protect: true,
|
protect: true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
@@ -149,7 +149,7 @@ export const memberRouter = createTRPCRouter({
|
|||||||
method: "DELETE",
|
method: "DELETE",
|
||||||
path: "/workspaces/{workspacePublicId}/members/{memberPublicId}",
|
path: "/workspaces/{workspacePublicId}/members/{memberPublicId}",
|
||||||
description: "Deletes a member from a workspace",
|
description: "Deletes a member from a workspace",
|
||||||
tags: ["Members"],
|
tags: ["Workspaces"],
|
||||||
protect: true,
|
protect: true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ export const openApiDocument = generateOpenApiDocument(appRouter, {
|
|||||||
description: "OpenAPI compliant REST API",
|
description: "OpenAPI compliant REST API",
|
||||||
version: "1.0.0",
|
version: "1.0.0",
|
||||||
baseUrl: `${process.env.WEBSITE_URL}/api/v1`,
|
baseUrl: `${process.env.WEBSITE_URL}/api/v1`,
|
||||||
docsUrl: "",
|
docsUrl: "docs.kan.bn",
|
||||||
tags: ["auth", "users", "posts"],
|
tags: ["Auth", "Users", "Boards", "Lists", "Cards", "Labels", "Imports"],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user