gouick/templates/go-swagger/api.yaml.tmpl

18 lines
406 B
Cheetah
Raw Normal View History

2022-08-10 15:40:37 +00:00
---
swagger: "2.0"
info:
version: "1.0"
title: "{{ .Config.ProjectName }}"
description: "{{ .Config.ProjectDescription }}"
2022-08-10 15:40:37 +00:00
contact:
name: "{{ .Config.ProjectContact.Name }}"
email: "{{ .Config.ProjectContact.Email }}"
{{- if .Config.ProjectContact.URL }}
url: "{{ .Config.ProjectContact.URL }}"
{{- end }}
2022-08-10 15:40:37 +00:00
consumes:
- "application/json"
produces:
- "application/json"
basePath: "/"