APIDevTools/swagger-cli

it can't be validate if path parameters not defined

winterbesos opened this issue · 2 comments

/some/api/{param}:

if this param is not be defined. the command swagger-cli validate api.yaml can't throw any errors.

Also if the parameter is defined but not in: header it won't fail.

Note: to all - stand by - there will be a Pull Request soon.

Basically I think the command line tool could do with the validation in the editor

https://stackoverflow.com/questions/48174533/how-to-perform-online-swagger-editor-validation-in-a-command-line-tool