craftbeerpi4-pione/venv/lib/python3.8/site-packages/aiohttp_swagger/templates/swagger.yaml

24 lines
423 B
YAML
Raw Normal View History

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: