We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b395b6 commit de4c43eCopy full SHA for de4c43e
templates/v5.2/apigateway.tmpl
@@ -23,7 +23,7 @@ include "{{ ncgconfig.nms.visibility_dir }}{{ declaration.location.uri }}-{{ v }
23
{% endfor %}
24
25
{% if declaration.paths -%}
26
-{% for path in declaration.paths %}
+{% for path in declaration.paths|sort(attribute='path', reverse = True) %}
27
location {% if '{' not in path.path %}={% else %}~{% endif %} {{ declaration.location.uri }}{{ path.path | regex_replace('{(.*?)}','(.*)') }} {
28
{% for method in path.methods -%}
29
# {{ method.method|upper }} - operationId: {{ method.details.operationId }}
0 commit comments