From 1eca5d5112298780702b340aa983df1ee56a5a5b Mon Sep 17 00:00:00 2001 From: aramissennyeydd Date: Sun, 3 Mar 2024 11:13:41 -0500 Subject: [PATCH] remove second TMethod Signed-off-by: aramissennyeydd Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com> Signed-off-by: aramissennyeydd --- .../src/generated/apis/DefaultApi.client.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts b/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts index 502de78584..47adf24edc 100644 --- a/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts +++ b/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts @@ -293,10 +293,7 @@ export interface DocRequestMatcher< T, Method extends HttpMethods, > { - < - TPath extends MethodAwareDocPath, Method>, - TMethod extends DocPathMethod, - >( + , Method>>( path: PathTemplate, ...handlers: Array> ): T; @@ -338,6 +335,6 @@ type why = DocPathMethod< type test5 = MethodAwareDocPath; const router: TypedRouter = Router() as TypedRouter; -router.post('/entities/by-refs', (req, res) => { +router.post('/entities', (req, res) => { res.json([{}]); });