mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-12-23 22:14:56 +01:00
23 lines
423 B
YAML
23 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:
|