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:
parent
51296cb94c
commit
7d5d030960
|
@ -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"
|
Loading…
Reference in New Issue