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

17 lines
358 B
Cheetah
Raw Normal View History

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