Forum Discussion

sntshk's avatar
sntshk
Occasional Visitor
3 years ago
Solved

couldn't find a swagger spec

I am following https://goswagger.io/tutorial/todo-list.html.

 

Here is the command I am executing: `swagger generate server -A todo-list -f ./swagger.yml`. 

 

Here is the error I am getting: 

 

couldn't find a swagger spec

 

Yes, I have swagger.yml in cwd.