mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-23 23:48:16 +01:00
24 lines
423 B
YAML
24 lines
423 B
YAML
|
swagger: "2.0"
|
||
|
info:
|
||
|
description: |
|
||
|
{{ description }}
|
||
|
version: "{{ version }}"
|
||
|
title: {{ title }}
|
||
|
{% if contact %}
|
||
|
contact:
|
||
|
name: {{ contact }}
|
||
|
{% endif %}
|
||
|
basePath: {{ base_path }}
|
||
|
schemes:
|
||
|
- http
|
||
|
- https
|
||
|
{% if definitions %}
|
||
|
definitions:
|
||
|
{{ definitions|nesteddict2yaml }}
|
||
|
{% endif %}
|
||
|
{% if security_definitions %}
|
||
|
securityDefinitions:
|
||
|
{{ security_definitions|nesteddict2yaml }}
|
||
|
{% endif %}
|
||
|
paths:
|