fix: fix a bug which will match incorrect path #115
This commit is contained in:
parent
554f902584
commit
79667a9644
@ -272,7 +272,7 @@ export const feedRouter = router({
|
|||||||
.meta(
|
.meta(
|
||||||
buildFeedOpenapi({
|
buildFeedOpenapi({
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
path: '/{channelId}',
|
path: '/{channelId}/del',
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
.input(
|
.input(
|
||||||
|
@ -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(
|
||||||
|
@ -51,7 +51,7 @@ export const surveyRouter = router({
|
|||||||
.meta(
|
.meta(
|
||||||
buildSurveyOpenapi({
|
buildSurveyOpenapi({
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
path: '/{surveyId}',
|
path: '/{surveyId}/get',
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
.input(
|
.input(
|
||||||
|
@ -160,7 +160,7 @@ export const workspaceRouter = router({
|
|||||||
.meta(
|
.meta(
|
||||||
buildWorkspaceOpenapi({
|
buildWorkspaceOpenapi({
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
path: '/{workspaceId}',
|
path: '/{workspaceId}/del',
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
.input(
|
.input(
|
||||||
|
Loading…
Reference in New Issue
Block a user