mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-23 15:38:14 +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:
|
||
|
|