fix: broken docs

This commit is contained in:
=
2025-04-21 14:36:33 +05:30
parent 5fccc62213
commit 4d569d70d6
8 changed files with 14 additions and 8 deletions

View File

@@ -216,6 +216,8 @@ export const registerProjectRouter = async (server: FastifyZodProvider) => {
rateLimit: writeLimit rateLimit: writeLimit
}, },
schema: { schema: {
hide: false,
tags: [ApiDocsTags.Projects],
description: "Delete project", description: "Delete project",
security: [ security: [
{ {

View File

@@ -269,6 +269,8 @@ export const registerSecretImportRouter = async (server: FastifyZodProvider) =>
rateLimit: readLimit rateLimit: readLimit
}, },
schema: { schema: {
hide: false,
tags: [ApiDocsTags.SecretImports],
description: "Get secret imports", description: "Get secret imports",
security: [ security: [
{ {

View File

@@ -1,4 +1,4 @@
--- ---
title: "Create Project Membership" title: "Create Project Membership"
openapi: "POST /api/v2/workspace/{projectId}/groups/{groupId}" openapi: "POST /api/v2/workspace/{projectId}/groups/{groupIdOrName}"
--- ---

View File

@@ -1,8 +1,10 @@
--- ---
title: "Create" title: "Create"
openapi: "POST /api/v1/workspace/{projectSlug}/roles" openapi: "POST /api/v2/workspace/{projectId}/roles"
--- ---
<Note> <Note>
You can read more about the permissions field in the [permissions documentation](/internals/permissions). You can read more about the permissions field in the [permissions
</Note> documentation](/internals/permissions).
</Note>

View File

@@ -1,4 +1,4 @@
--- ---
title: "Delete" title: "Delete"
openapi: "DELETE /api/v1/workspace/{projectSlug}/roles/{roleId}" openapi: "DELETE /api/v2/workspace/{projectId}/roles/{roleId}"
--- ---

View File

@@ -1,4 +1,4 @@
--- ---
title: "Get By Slug" title: "Get By Slug"
openapi: "GET /api/v1/workspace/{projectSlug}/roles/slug/{slug}" openapi: "GET /api/v2/workspace/{projectId}/roles/slug/{roleSlug}"
--- ---

View File

@@ -1,4 +1,4 @@
--- ---
title: "List" title: "List"
openapi: "GET /api/v1/workspace/{projectSlug}/roles" openapi: "GET /api/v2/workspace/{projectId}/roles"
--- ---

View File

@@ -1,4 +1,4 @@
--- ---
title: "Update" title: "Update"
openapi: "PATCH /api/v1/workspace/{projectSlug}/roles/{roleId}" openapi: "PATCH /api/v2/workspace/{projectId}/roles/{roleId}"
--- ---