Skip to content

Commit

Permalink
fix: add meta for openapi endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaefli committed Aug 5, 2024
1 parent 7162ed0 commit c6f5d84
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/server/routers/_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,9 @@ export const appRouter = router({
}),

persistProposalFeedbackAccept: publicProcedure
.meta({
openapi: { method: 'POST', path: '/persistProposalFeedbackAccept' },
})
.input(
z.object({
flowSecret: z.string(),
Expand Down Expand Up @@ -553,6 +556,12 @@ export const appRouter = router({
}),

persistProposalFeedbackAcceptTentative: publicProcedure
.meta({
openapi: {
method: 'POST',
path: '/persistProposalFeedbackAcceptTentative',
},
})
.input(
z.object({
flowSecret: z.string(),
Expand Down Expand Up @@ -601,6 +610,12 @@ export const appRouter = router({
}),

persistProposalFeedbackDecline: publicProcedure
.meta({
openapi: {
method: 'POST',
path: '/persistProposalFeedbackDecline',
},
})
.input(
z.object({
flowSecret: z.string(),
Expand Down Expand Up @@ -641,6 +656,12 @@ export const appRouter = router({
}),

persistProposalFeedbackReject: publicProcedure
.meta({
openapi: {
method: 'POST',
path: '/persistProposalFeedbackReject',
},
})
.input(
z.object({
flowSecret: z.string(),
Expand Down

0 comments on commit c6f5d84

Please sign in to comment.