From ba097b32fc790e5d16a1fc42693e948f73000a4a Mon Sep 17 00:00:00 2001 From: "K.Himeno" <6715229+Himenon@users.noreply.github.com> Date: Fri, 1 Mar 2024 23:57:10 +0900 Subject: [PATCH] fix: expression --- src/code-templates/_shared/MethodBody/PathParameter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/code-templates/_shared/MethodBody/PathParameter.ts b/src/code-templates/_shared/MethodBody/PathParameter.ts index ce6770d..72d7993 100644 --- a/src/code-templates/_shared/MethodBody/PathParameter.ts +++ b/src/code-templates/_shared/MethodBody/PathParameter.ts @@ -96,6 +96,9 @@ export const generateUrlTemplateExpression = ( temporaryStringList = []; } + /** + * @see https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#path-templating + */ urlTemplate.push({ type: "property", value: factory.CallExpression.create({