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([{}]); });