mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-27 09:18:02 +01:00
22 lines
414 B
YAML
22 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:
|
|
|