diff --git a/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts b/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts index 7d7fa2ecd3..502de78584 100644 --- a/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts +++ b/plugins/catalog-backend/src/generated/apis/DefaultApi.client.ts @@ -294,18 +294,15 @@ export interface DocRequestMatcher< Method extends HttpMethods, > { < - TPath extends DocPath, - TMethod extends Filter, Method>, + TPath extends MethodAwareDocPath, Method>, + TMethod extends DocPathMethod, >( - path: PathTemplate>, - ...handlers: Array> + path: PathTemplate, + ...handlers: Array> ): T; - < - TPath extends DocPath, - TMethod extends Filter, Method>, - >( - path: PathTemplate>, - ...handlers: Array> + , Method>>( + path: PathTemplate, + ...handlers: Array> ): T; } @@ -341,6 +338,6 @@ type why = DocPathMethod< type test5 = MethodAwareDocPath; const router: TypedRouter = Router() as TypedRouter; -router.post('/entities', (req, res) => { +router.post('/entities/by-refs', (req, res) => { res.json([{}]); });