aboutsummaryrefslogtreecommitdiffstats
path: root/services/activity-spec/activity-spec-web/activity-spec-war/templates/operation.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'services/activity-spec/activity-spec-web/activity-spec-war/templates/operation.hbs')
-rw-r--r--services/activity-spec/activity-spec-web/activity-spec-war/templates/operation.hbs73
1 files changed, 0 insertions, 73 deletions
diff --git a/services/activity-spec/activity-spec-web/activity-spec-war/templates/operation.hbs b/services/activity-spec/activity-spec-web/activity-spec-war/templates/operation.hbs
deleted file mode 100644
index 375d4f7701..0000000000
--- a/services/activity-spec/activity-spec-web/activity-spec-war/templates/operation.hbs
+++ /dev/null
@@ -1,73 +0,0 @@
-{{#deprecated}}-deprecated-{{/deprecated}}
-<a id="{{operationId}}">{{summary}}</a>
-
-{{description}}
-
-{{#if externalDocs.url}}{{externalDocs.description}}. [See external documents for more details]({{externalDocs.url}})
-{{/if}}
-
-{{#if security}}
-#### Security
-{{/if}}
-
-{{#security}}
-{{#each this}}
-* {{@key}}
-{{#this}} * {{this}}
-{{/this}}
-{{/each}}
-{{/security}}
-
-#### Request
-
-{{#if consumes}}
-**Content-Type: ** {{join consumes ", "}}{{/if}}
-
-##### Parameters
-{{#if parameters}}
-<table border="1">
- <tr>
- <th>Name</th>
- <th>Located in</th>
- <th>Required</th>
- <th>Description</th>
- <th>Default</th>
- <th>Schema</th>
- </tr>
-{{/if}}
-
-{{#parameters}}
-<tr>
- <th>{{name}}</th>
- <td>{{in}}</td>
- <td>{{#if required}}yes{{else}}no{{/if}}</td>
- <td>{{description}}{{#if pattern}} (**Pattern**: `{{pattern}}`){{/if}}</td>
- <td>{{#if defaultValue}}{{defaultValue}}{{else}} - {{/if}}</td>
-{{#ifeq in "body"}}
- <td>
- {{#ifeq schema.type "array"}}Array[<a href="{{schema.items.$ref}}">{{basename schema.items.$ref}}</a>]{{/ifeq}}
- {{#schema.$ref}}<a href="{{schema.$ref}}">{{basename schema.$ref}}</a> {{/schema.$ref}}
- </td>
-{{else}}
- {{#ifeq type "array"}}
- <td>Array[{{items.type}}] ({{collectionFormat}})</td>
- {{else}}
- <td>{{type}} {{#format}}({{format}}){{/format}}</td>
- {{/ifeq}}
-{{/ifeq}}
-</tr>
-{{/parameters}}
-{{#if parameters}}
-</table>
-{{/if}}
-
-
-#### Response
-
-{{#if produces}}**Content-Type: ** {{join produces ", "}}{{/if}}
-
-
-| Status Code | Reason | Response Model |
-|-------------|-------------|----------------|
-{{#each responses}}| {{@key}} | {{description}} | {{#schema.$ref}}<a href="{{schema.$ref}}">{{basename schema.$ref}}</a>{{/schema.$ref}}{{#ifeq schema.type "array"}}Array[<a href="{{schema.items.$ref}}">{{basename schema.items.$ref}}</a>]{{/ifeq}}{{^schema}} - {{/schema}}|
-{{/each}} \ No newline at end of file