mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-29 10:14:15 +01:00
23 lines
414 B
YAML
23 lines
414 B
YAML
|
openapi: 3.0.1
|
||
|
info:
|
||
|
title: {{ title }}
|
||
|
description: {{ description }}
|
||
|
version: "{{ version }}"
|
||
|
{% if contact %}
|
||
|
contact:
|
||
|
name: {{ contact }}
|
||
|
{% endif %}
|
||
|
servers:
|
||
|
- url: {{ base_path }}
|
||
|
components:
|
||
|
{% if definitions %}
|
||
|
schemas:
|
||
|
{{ definitions|nesteddict2yaml }}
|
||
|
{% endif %}
|
||
|
{% if security_definitions %}
|
||
|
securitySchemes:
|
||
|
{{ security_definitions|nesteddict2yaml }}
|
||
|
{% endif %}
|
||
|
paths:
|
||
|
|