diff --git a/src/server/trpc/routers/feed/index.ts b/src/server/trpc/routers/feed/index.ts index 1f55cec..0f79088 100644 --- a/src/server/trpc/routers/feed/index.ts +++ b/src/server/trpc/routers/feed/index.ts @@ -272,7 +272,7 @@ export const feedRouter = router({ .meta( buildFeedOpenapi({ method: 'DELETE', - path: '/{channelId}', + path: '/{channelId}/del', }) ) .input( diff --git a/src/server/trpc/routers/monitor.ts b/src/server/trpc/routers/monitor.ts index 75f68d1..bdcde8c 100644 --- a/src/server/trpc/routers/monitor.ts +++ b/src/server/trpc/routers/monitor.ts @@ -68,7 +68,7 @@ export const monitorRouter = router({ .meta( buildMonitorOpenapi({ method: 'GET', - path: '/{monitorId}', + path: '/{monitorId}/get', }) ) .input( @@ -169,7 +169,7 @@ export const monitorRouter = router({ .meta( buildMonitorOpenapi({ method: 'DELETE', - path: '/{monitorId}', + path: '/{monitorId}/del', }) ) .input( diff --git a/src/server/trpc/routers/survey.ts b/src/server/trpc/routers/survey.ts index 185a535..9cafbc7 100644 --- a/src/server/trpc/routers/survey.ts +++ b/src/server/trpc/routers/survey.ts @@ -51,7 +51,7 @@ export const surveyRouter = router({ .meta( buildSurveyOpenapi({ method: 'GET', - path: '/{surveyId}', + path: '/{surveyId}/get', }) ) .input( diff --git a/src/server/trpc/routers/workspace.ts b/src/server/trpc/routers/workspace.ts index aa3db44..0bb40e5 100644 --- a/src/server/trpc/routers/workspace.ts +++ b/src/server/trpc/routers/workspace.ts @@ -160,7 +160,7 @@ export const workspaceRouter = router({ .meta( buildWorkspaceOpenapi({ method: 'DELETE', - path: '/{workspaceId}', + path: '/{workspaceId}/del', }) ) .input(