From dbcc738bba990568258f1488282835fbcaaf3809 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 16:20:33 +0000 Subject: [PATCH] Initial upload with CI/CD workflow --- src/templates/json_template.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/templates/json_template.json diff --git a/src/templates/json_template.json b/src/templates/json_template.json new file mode 100644 index 0000000..108b96f --- /dev/null +++ b/src/templates/json_template.json @@ -0,0 +1,19 @@ +{ + "title": "{{ title }}", + "version": "{{ version }}", + "description": "{{ description }}", + "endpoints": [ + {% for endpoint in endpoints %} + { + "path": "{{ endpoint.path }}", + "method": "{{ endpoint.method }}", + "summary": "{{ endpoint.summary }}", + "description": "{{ endpoint.description }}", + "tags": {{ endpoint.tags|tojson }}, + "parameters": {{ endpoint.parameters|tojson }}, + "requestBody": {{ endpoint.request_body|tojson }}, + "responses": {{ endpoint.responses|tojson }} + }{% if not loop.last %},{% endif %} + {% endfor %} + ] +}