fix: fix a bug which will match incorrect path #115

This commit is contained in:
moonrailgun 2024-10-22 02:26:20 +08:00
parent 554f902584
commit 79667a9644
4 changed files with 5 additions and 5 deletions

View File

@ -272,7 +272,7 @@ export const feedRouter = router({
.meta( .meta(
buildFeedOpenapi({ buildFeedOpenapi({
method: 'DELETE', method: 'DELETE',
path: '/{channelId}', path: '/{channelId}/del',
}) })
) )
.input( .input(

View File

@ -68,7 +68,7 @@ export const monitorRouter = router({
.meta( .meta(
buildMonitorOpenapi({ buildMonitorOpenapi({
method: 'GET', method: 'GET',
path: '/{monitorId}', path: '/{monitorId}/get',
}) })
) )
.input( .input(
@ -169,7 +169,7 @@ export const monitorRouter = router({
.meta( .meta(
buildMonitorOpenapi({ buildMonitorOpenapi({
method: 'DELETE', method: 'DELETE',
path: '/{monitorId}', path: '/{monitorId}/del',
}) })
) )
.input( .input(

View File

@ -51,7 +51,7 @@ export const surveyRouter = router({
.meta( .meta(
buildSurveyOpenapi({ buildSurveyOpenapi({
method: 'GET', method: 'GET',
path: '/{surveyId}', path: '/{surveyId}/get',
}) })
) )
.input( .input(

View File

@ -160,7 +160,7 @@ export const workspaceRouter = router({
.meta( .meta(
buildWorkspaceOpenapi({ buildWorkspaceOpenapi({
method: 'DELETE', method: 'DELETE',
path: '/{workspaceId}', path: '/{workspaceId}/del',
}) })
) )
.input( .input(