aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/templates/markdown.hbs
diff options
context:
space:
mode:
authorDmitry Puzikov <d.puzikov2@partner.samsung.com>2020-03-03 10:18:41 +0100
committerYuli Shlosberg <ys9693@att.com>2020-03-16 20:14:52 +0000
commitcdca700bbc71af59acfe340b54d464f28206bb79 (patch)
tree6b5d42a082b098b8ce84f36b105301f4e17f5735 /catalog-be/templates/markdown.hbs
parent71b9e84b987f2b1bb8981ddc4270bf15d5d5675b (diff)
Fix SDC-BE Swagger
General reorganisation of APIs rendering done. Fixed mix of swagger.v2 and new swagger.v3 conflicting annotatons. Moved to newer version of swagger-ui. Removed unused/inconsistent parts of pom.xml. Change-Id: Id1356b766caff6bf5817768c1a0f9b80541b85e8 Issue-ID: SDC-2718 Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Diffstat (limited to 'catalog-be/templates/markdown.hbs')
-rw-r--r--catalog-be/templates/markdown.hbs105
1 files changed, 0 insertions, 105 deletions
diff --git a/catalog-be/templates/markdown.hbs b/catalog-be/templates/markdown.hbs
deleted file mode 100644
index cc87c38244..0000000000
--- a/catalog-be/templates/markdown.hbs
+++ /dev/null
@@ -1,105 +0,0 @@
-#{{#info}}{{title}}
-
-
-## {{join schemes " | "}}://{{host}}{{basePath}}
-
-
-{{description}}
-
-{{#contact}}
-[**Contact the developer**](mailto:{{email}})
-{{/contact}}
-
-**Version** {{version}}
-
-{{#license}}[**{{name}}**]({{url}}){{/license}}
-
-{{/info}}
-
-{{#if consumes}}**Consumes:** {{join consumes ", "}}{{/if}}
-
-{{#if produces}}**Produces:** {{join produces ", "}}{{/if}}
-
-{{#if securityDefinitions}}
-# Security Definitions
-{{/if}}
-{{> security}}
-
-# APIs
-
-{{#each paths}}
-## {{@key}}
-{{#this}}
-{{#get}}
-### GET
-{{> operation}}
-{{/get}}
-
-{{#put}}
-### PUT
-{{> operation}}
-{{/put}}
-
-{{#post}}
-### POST
-
-{{> operation}}
-
-{{/post}}
-
-{{#delete}}
-### DELETE
-{{> operation}}
-{{/delete}}
-
-{{#option}}
-### OPTION
-{{> operation}}
-{{/option}}
-
-{{#patch}}
-### PATCH
-{{> operation}}
-{{/patch}}
-
-{{#head}}
-### HEAD
-{{> operation}}
-{{/head}}
-
-{{/this}}
-{{/each}}
-
-# Definitions
-{{#each definitions}}
-## <a name="/definitions/{{key}}">{{@key}}</a>
-
-<table border="1">
- <tr>
- <th>name</th>
- <th>type</th>
- <th>required</th>
- <th>description</th>
- <th>example</th>
- </tr>
- {{#each this.properties}}
- <tr>
- <td>{{@key}}</td>
- <td>
- {{#ifeq type "array"}}
- {{#items.$ref}}
- {{type}}[<a href="{{items.$ref}}">{{basename items.$ref}}</a>]
- {{/items.$ref}}
- {{^items.$ref}}{{type}}[{{items.type}}]{{/items.$ref}}
- {{else}}
- {{#$ref}}<a href="{{$ref}}">{{basename $ref}}</a>{{/$ref}}
- {{^$ref}}{{type}}{{#format}} ({{format}}){{/format}}{{/$ref}}
- {{/ifeq}}
- </td>
- <td>{{#required}}required{{/required}}{{^required}}optional{{/required}}</td>
- <td>{{#description}}{{{description}}}{{/description}}{{^description}}-{{/description}}</td>
- <td>{{example}}</td>
- </tr>
- {{/each}}
-</table>
-{{/each}} \ No newline at end of file