From 629b70dc83f59d4435daf7871f9364662c049b5a Mon Sep 17 00:00:00 2001 From: aramissennyeydd Date: Sun, 3 Mar 2024 11:11:15 -0500 Subject: [PATCH] adjust back 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 | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) 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([{}]); });