{{#each this}}
{{#if this.name}} {{this.name}} {{else}} {{this.method}} {{this.path}} {{/if}} {{#each this.tags}}
{{this}}
{{/each}}
{{#multipleIf this.description this.notes this.auth this.vhost this.cors this.jsonp}}
{{#if this.description}}

Description

{{{this.description}}}

{{/if}} {{#if this.notes}}

Notes

    {{#each this.notes}}
  • {{{this}}}
  • {{/each}}
{{/if}} {{#if this.auth}}

Authentication

Strategies

{{this.auth.strategies}}

Mode

{{this.auth.mode}}

{{#if this.auth.payload}}

Payload

{{this.auth.payload}}

{{/if}} {{#if this.auth.scope}}

Scope

{{this.auth.scope}}

{{/if}} {{#if this.auth.entity}}

Entity

{{this.auth.entity}}

{{/if}} {{#if this.auth.tos}}

Terms of service

{{this.auth.tos}}

{{/if}}

{{/if}} {{#if this.vhost}}

Virtual host

{{this.vhost}}

{{/if}} {{#if this.cors}}

CORS

Origin
    {{#each this.cors.origin}}
  • {{this}}
  • {{/each}}
maxAge
{{this.cors.maxAge}}
{{#if this.cors.headers}}
headers
    {{#each this.cors.headers}}
  • {{this}}
  • {{/each}}
{{/if}} {{#if this.cors.additionalHeaders}}
additionalHeaders
    {{#each this.cors.additionalHeaders}}
  • {{this}}
  • {{/each}}
{{/if}} {{#if this.cors.methods}}
methods
    {{#each this.cors.methods}}
  • {{this}}
  • {{/each}}
{{/if}} {{#if this.cors.additionalMethods}}
additionalMethods
    {{#each this.cors.additionalMethods}}
  • {{this}}
  • {{/each}}
{{/if}} {{#if this.cors.exposedHeaders}}
exposedHeaders
    {{#each this.cors.exposedHeaders}}
  • {{this}}
  • {{/each}}
{{/if}}
credentials
{{this.cors.credentials}}
override
{{this.cors.override}}
{{/if}} {{#if this.jsonp}}

JSONP

{{this.jsonp}}

{{/if}}
{{/multipleIf}}
{{/each}}