7 |
{{info.title}}
8 |
{{#if basePath}}Base URL: {{basePath}}, {{/if}}Version: {{info.version}}
9 |
{{md info.description}}
10 |
11 | {{#if consumes}}
12 |
13 |
14 | {{#each consumes}}{{.}}{{#unless @last}}, {{/unless}}{{/each}}
15 |
16 | {{/if}}
17 | {{#if produces}}
18 |
19 |
20 | {{#each produces}}{{.}}{{#unless @last}}, {{/unless}}{{/each}}
21 |
22 | {{/if}}
23 |
24 |
25 |
26 | {{#each schemes}}{{.}}{{#unless @last}}, {{/unless}}{{/each}}
27 |
28 |
29 | {{#if showTagSummary}}
30 | {{>swagger/tags}}
31 | {{else}}
32 | {{>swagger/summary}}
33 | {{/if}}
34 |
35 | {{>swagger/securityDefinitions}}
36 |
37 | {{>swagger/paths paths=paths}}
38 |
39 | {{>swagger/parameterDefinitions parameters=parameters}}
40 |
41 | {{>swagger/responseDefinitions responses=responses}}
42 |
43 | {{>swagger/definitions definitions=definitions}}
44 |
45 |
--------------------------------------------------------------------------------
/partials/base/footer.hbs:
--------------------------------------------------------------------------------
1 | {{!--
2 | This partial is displayed at the bottom of the HTML-body.
3 | It is empty and can be overridden to include custom content in
4 | the Bootprint-result.
5 |
6 | @param {object} $context$ the whole input data
7 | @public
8 | --}}
--------------------------------------------------------------------------------
/partials/base/header.hbs:
--------------------------------------------------------------------------------
1 | {{!--
2 | This partial is displayed at the top of the HTML-body.
3 | It is empty and can be overridden to include custom content in
4 | the Bootprint-result.
5 |
6 | @param {object} $context$ the whole input data
7 | @public
8 | --}}
--------------------------------------------------------------------------------
/partials/base/html-head.hbs:
--------------------------------------------------------------------------------
1 | {{!
2 | This partial is rendered into the ``-tag of the page. It can be overridden
3 | to replace its contents.
4 | }}
5 |
6 |
--------------------------------------------------------------------------------
/partials/base/javascript-libs.hbs:
--------------------------------------------------------------------------------
1 | {{!
2 | This partial is rendered below the `footer`-partial of the page. It includes the
3 | javascript-bundle generated by `customize-engine-uglify`. If you don't want to
4 | include the javascript-bundle, because you do not require the bootstrap-javascript,
5 | you can override this partial with an empty one.
6 | }}
7 |
8 |
--------------------------------------------------------------------------------
/partials/base/title.hbs:
--------------------------------------------------------------------------------
1 | {{!--
2 | Renders the page title
3 | @param {object} $context$ the whole swagger definition
4 | @api public
5 | --}}
6 | {{info.title}}
--------------------------------------------------------------------------------
/partials/swagger/definitions.hbs:
--------------------------------------------------------------------------------
1 | {{!--
2 | Renders the definition-section of the HTML-page.
3 | @param {Definition[]} definitions a list of JSON-subschemas.
4 | @api public
5 | --}}
6 |
7 | {{#if definitions}}
8 |
9 |
10 |
{{md summary stripParagraph="true"}}
11 |
{{toUpperCase method}} {{path}}
12 | {{#if tags}}
13 | Tags:
14 | {{#each tags}}
15 |
{{.}}{{#unless @last}}, {{/unless}}
16 | {{/each}}
17 | {{/if}}
18 |
19 |
20 |
21 | {{md operation.description}}
22 |
23 | {{! The _request_body variable is filled with the parameter `body` by the preprocessor. }}
24 | {{#if _show_requst_body_section}}
25 | {{>swagger/request-body consumes=operation.consumes body=_request_body}}
26 | {{/if}}
27 | {{>swagger/parameters parameters=parameters}}
28 | {{>swagger/responses}}
29 | {{>swagger/security}}
30 |
31 |
--------------------------------------------------------------------------------
/partials/swagger/parameterDefinitions.hbs:
--------------------------------------------------------------------------------
1 | {{!--
2 | Global parameter definitions (see https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#parametersDefinitionsObject)
3 | @param {object