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(
buildFeedOpenapi({
method: 'DELETE',
path: '/{channelId}',
path: '/{channelId}/del',
})
)
.input(

View File

@ -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(

View File

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

View File

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