-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Problem statement
Getting couldn't find a swagger spec
when doing swagger generate server -A todo-list -f ./swagger.yml
.
I am following https://goswagger.io/tutorial/todo-list.html.
Steps to reproduce
- Go to https://goswagger.io/tutorial/todo-list.html and copy the complete spec to a file called
swagger.yml
. - Run
swagger generate server -A todo-list -f ./swagger.yml
from the directory of the file.
Environment
swagger version: version: v0.27.0
go version: go1.15.8
OS: Amazon Linux 2
dinever and santosh