GENERATE swagger.yml file.

$ swagger init spec --format=yaml --title=timeofday --description="Return the time of day. Timezone optional."  --contact.name="Elf Sternberg" \
  --contact.url="https://github.com/elfsternberg/go-timeofday" --contact.email="elf.sternberg@gmail.com" --license.name="apache-2.0"
This commit is contained in:
Elf M. Sternberg 2018-03-28 11:33:41 -07:00
parent 51296cb94c
commit 7d5d030960
1 changed files with 18 additions and 0 deletions

18
swagger.yml Normal file
View File

@ -0,0 +1,18 @@
consumes:
- application/json
info:
contact:
email: elf.sternberg@gmail.com
name: Elf Sternberg
url: https://github.com/elfsternberg/go-timeofday
description: Return the time of day. Timezone optional.
license:
name: apache-2.0
title: timeofday
version: 0.1.0
paths: {}
produces:
- application/json
schemes:
- http
swagger: "2.0"