diff options
author | Dmitry Puzikov <d.puzikov2@partner.samsung.com> | 2020-03-03 10:18:41 +0100 |
---|---|---|
committer | Yuli Shlosberg <ys9693@att.com> | 2020-03-16 20:14:52 +0000 |
commit | cdca700bbc71af59acfe340b54d464f28206bb79 (patch) | |
tree | 6b5d42a082b098b8ce84f36b105301f4e17f5735 /catalog-be/templates/security.hbs | |
parent | 71b9e84b987f2b1bb8981ddc4270bf15d5d5675b (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/security.hbs')
-rw-r--r-- | catalog-be/templates/security.hbs | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/catalog-be/templates/security.hbs b/catalog-be/templates/security.hbs deleted file mode 100644 index 04f86e8380..0000000000 --- a/catalog-be/templates/security.hbs +++ /dev/null @@ -1,88 +0,0 @@ -{{#each securityDefinitions}} -### {{@key}} -{{#this}} -{{#ifeq type "oauth2"}} -<table> - <tr> - <th>type</th> - <th colspan="2">{{type}}</th> - </tr> -{{#if description}} - <tr> - <th>description</th> - <th colspan="2">{{description}}</th> - </tr> -{{/if}} -{{#if authorizationUrl}} - <tr> - <th>authorizationUrl</th> - <th colspan="2">{{authorizationUrl}}</th> - </tr> -{{/if}} -{{#if flow}} - <tr> - <th>flow</th> - <th colspan="2">{{flow}}</th> - </tr> -{{/if}} -{{#if tokenUrl}} - <tr> - <th>tokenUrl</th> - <th colspan="2">{{tokenUrl}}</th> - </tr> -{{/if}} -{{#if scopes}} - <tr> - <td rowspan="3">scopes</td> -{{#each scopes}} - <td>{{@key}}</td> - <td>{{this}}</td> - </tr> - <tr> -{{/each}} - </tr> -{{/if}} -</table> -{{/ifeq}} -{{#ifeq type "apiKey"}} -<table> - <tr> - <th>type</th> - <th colspan="2">{{type}}</th> - </tr> -{{#if description}} - <tr> - <th>description</th> - <th colspan="2">{{description}}</th> - </tr> -{{/if}} -{{#if name}} - <tr> - <th>name</th> - <th colspan="2">{{name}}</th> - </tr> -{{/if}} -{{#if in}} - <tr> - <th>in</th> - <th colspan="2">{{in}}</th> - </tr> -{{/if}} -</table> -{{/ifeq}} -{{#ifeq type "basic"}} -<table> - <tr> - <th>type</th> - <th colspan="2">{{type}}</th> - </tr> -{{#if description}} - <tr> - <th>description</th> - <th colspan="2">{{description}}</th> - </tr> -{{/if}} -</table> -{{/ifeq}} -{{/this}} -{{/each}}
\ No newline at end of file |