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

Bad error message on incorrect path provided

Open AlexisTonneau opened this issue 3 years ago • 0 comments

I used a path foo/bar instead of /foo/bar and CLI returned an error with message: #/paths must NOT have additional properties. That seems very confusing.

On Swagger editor, the provided error message is

Structural error at paths
should only have path names that start with\`/`
,which seems way better.

AlexisTonneau avatar May 19 '22 09:05 AlexisTonneau