From a1a745b4820ec46a2e707d77f6178cf9e97654f6 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Fri, 12 May 2017 18:33:00 +0800 Subject: refactor static_path to accomodate web portal move tornado_swagger/static to opnfv_testapi/static move swagger related 3rd libs to 3rd_party/swagger Change-Id: I32bba10584c99d13687b93f32577e37581db0c63 Signed-off-by: SerenaFeng --- .../testapi/3rd_party/static/swagger/endpoint.html | 77 ++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 utils/test/testapi/3rd_party/static/swagger/endpoint.html (limited to 'utils/test/testapi/3rd_party/static/swagger/endpoint.html') diff --git a/utils/test/testapi/3rd_party/static/swagger/endpoint.html b/utils/test/testapi/3rd_party/static/swagger/endpoint.html new file mode 100644 index 000000000..4ae3bde0c --- /dev/null +++ b/utils/test/testapi/3rd_party/static/swagger/endpoint.html @@ -0,0 +1,77 @@ + + + + + + Api Docs for {{path}} + + + + + +
+
+
+

{{path}}

+

{{description if description != None}}

+
+
+ {% for operation in operations %} +
+
+

{{operation.method}}

+

{{operation.summary if operation.summary != None}}

+
+
+ {% if operation.parameters %} +

Parameters

+
+ {% for parameter in operation.parameters %} +
+ {{parameter.name}} + {% if parameter.description %} + - {{parameter.description}} + {% endif %} +
+
Type: {{parameter.dataType}}
+
Allow Multiple: {{parameter.allowMultiple}}
+
Required: {{parameter.required}}
+ {% endfor %} +
+ {% endif %} + {% if operation.notes %} +

Implementation notes: {{operation.notes}}

+ {% endif %} + {% if operation.responseClass %} +

Response Class: {{operation.responseClass}}

+ {% endif %} +
+
+ {% endfor %} +
+
+ + + + -- cgit 1.2.3-korg