From d5acfaf33f767314a5a59dadddf244f85df6880d Mon Sep 17 00:00:00 2001 From: fabriziofiorucci Date: Fri, 17 Apr 2026 11:31:13 +0100 Subject: [PATCH 1/2] API Gateway template updated --- templates/v5.5/apigateway.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/v5.5/apigateway.tmpl b/templates/v5.5/apigateway.tmpl index 1c83dd11..bf64d0c6 100644 --- a/templates/v5.5/apigateway.tmpl +++ b/templates/v5.5/apigateway.tmpl @@ -29,8 +29,8 @@ include "{{ ncgconfig.nms.visibility_dir }}{{ declaration.location.uri }}-{{ v } {% if declaration.paths -%} {% for path in declaration.paths|sort(attribute='path', reverse = True) %} -location {% if '{' not in path.path %}={% else %}~{% endif %} {% if declaration.location.uri != "/" %}{{ declaration.location.uri }}{% endif %}{{ path.path | regex_replace('{(.*?)}','(.*)') }} { - status_zone {% if declaration.location.uri != "/" %}{{ declaration.location.uri }}{% endif %}{{ path.path | regex_replace('{(.*?)}','(.*)') }}; +location {% if '{' not in path.path %}={% else %}~{% endif %} {% if declaration.location.uri != "/" %}{{ declaration.location.uri }}{% endif %}{{ path.path | regex_replace('{(.*?)}','([^/]+)') }} { + status_zone ^{% if declaration.location.uri != "/" %}{{ declaration.location.uri }}{% endif %}{{ path.path | regex_replace('{(.*?)}','([^/]+)') }}; {% for method in path.methods -%} # {{ method.method|upper }} - operationId: {{ method.details.operationId }} From b3561c0090ed0ddc3fa6aef0087cce7b0e8b4541 Mon Sep 17 00:00:00 2001 From: fabriziofiorucci Date: Fri, 17 Apr 2026 11:32:30 +0100 Subject: [PATCH 2/2] API Gateway template updated --- templates/v5.5/apigateway.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/v5.5/apigateway.tmpl b/templates/v5.5/apigateway.tmpl index bf64d0c6..48f016e8 100644 --- a/templates/v5.5/apigateway.tmpl +++ b/templates/v5.5/apigateway.tmpl @@ -30,7 +30,7 @@ include "{{ ncgconfig.nms.visibility_dir }}{{ declaration.location.uri }}-{{ v } {% if declaration.paths -%} {% for path in declaration.paths|sort(attribute='path', reverse = True) %} location {% if '{' not in path.path %}={% else %}~{% endif %} {% if declaration.location.uri != "/" %}{{ declaration.location.uri }}{% endif %}{{ path.path | regex_replace('{(.*?)}','([^/]+)') }} { - status_zone ^{% if declaration.location.uri != "/" %}{{ declaration.location.uri }}{% endif %}{{ path.path | regex_replace('{(.*?)}','([^/]+)') }}; + status_zone {% if declaration.location.uri != "/" %}{{ declaration.location.uri }}{% endif %}{{ path.path | regex_replace('{(.*?)}','([^/]+)') }}; {% for method in path.methods -%} # {{ method.method|upper }} - operationId: {{ method.details.operationId }}