swagger-cli icon indicating copy to clipboard operation
swagger-cli copied to clipboard

it can't be validate if path parameters not defined

Open winterbesos opened this issue 4 years ago • 2 comments

/some/api/{param}:

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

winterbesos avatar Nov 16 '20 13:11 winterbesos

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.

stueynz avatar Jul 20 '21 21:07 stueynz

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

brezniczky avatar Apr 20 '22 11:04 brezniczky