gouick/templates/go-swagger/api.yaml.tmpl
Matthieu 'JP' DERASSE ac7df8be2d
All checks were successful
continuous-integration/drone/push Build is passing
feat(template): Refactor template standard variable and implement dockerfile
2022-09-29 20:05:53 +00:00

18 lines
406 B
Cheetah

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