{{#deprecated}}-deprecated-{{/deprecated}} {{summary}} {{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}}
Name | Located in | Required | Description | Default | Schema | ||
---|---|---|---|---|---|---|---|
{{name}} | {{in}} | {{#if required}}yes{{else}}no{{/if}} |
{{description}}{{#if pattern}} (**Pattern**: `{{pattern}}`){{/if}}
{{#if enum}}
Allowable values: {{#join enum ", "}} {{this}}{{/join}} {{/if}} |
{{#if defaultValue}}{{defaultValue}}{{else}} - {{/if}} | {{#ifeq in "body"}}{{#ifeq schema.type "array"}}Array[{{basename schema.items.$ref}}]{{/ifeq}} {{#schema.$ref}}{{basename schema.$ref}} {{/schema.$ref}} | {{else}} {{#ifeq type "array"}}Array[{{items.type}}] ({{collectionFormat}}) | {{else}}{{type}} {{#format}}({{format}}){{/format}} | {{/ifeq}} {{/ifeq}}