From c6f5d843ea1eaeb4e503ad0f12f16e777019a7b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20Schl=C3=A4fli?= Date: Mon, 5 Aug 2024 18:21:07 +0200 Subject: [PATCH] fix: add meta for openapi endpoints --- src/server/routers/_app.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/server/routers/_app.ts b/src/server/routers/_app.ts index 51016b8..b77d758 100644 --- a/src/server/routers/_app.ts +++ b/src/server/routers/_app.ts @@ -492,6 +492,9 @@ export const appRouter = router({ }), persistProposalFeedbackAccept: publicProcedure + .meta({ + openapi: { method: 'POST', path: '/persistProposalFeedbackAccept' }, + }) .input( z.object({ flowSecret: z.string(), @@ -553,6 +556,12 @@ export const appRouter = router({ }), persistProposalFeedbackAcceptTentative: publicProcedure + .meta({ + openapi: { + method: 'POST', + path: '/persistProposalFeedbackAcceptTentative', + }, + }) .input( z.object({ flowSecret: z.string(), @@ -601,6 +610,12 @@ export const appRouter = router({ }), persistProposalFeedbackDecline: publicProcedure + .meta({ + openapi: { + method: 'POST', + path: '/persistProposalFeedbackDecline', + }, + }) .input( z.object({ flowSecret: z.string(), @@ -641,6 +656,12 @@ export const appRouter = router({ }), persistProposalFeedbackReject: publicProcedure + .meta({ + openapi: { + method: 'POST', + path: '/persistProposalFeedbackReject', + }, + }) .input( z.object({ flowSecret: z.string(),