openapi-spec-validator icon indicating copy to clipboard operation
openapi-spec-validator copied to clipboard

Query strings in paths do not throw validation error

Open irlaec opened this issue 4 years ago • 0 comments

Hi! According to the Swagger documentation about Query String in Paths

Query string parameters must not be included in paths. They should be defined as query parameters instead

but I tried the validator with this schema that does contain query string parameters, and it seems that the error is not detected. Example path: /rest?method=flickr.favorites.getContext

(When pasting that schema in the swagger editor the errors are displayed)

irlaec avatar Mar 19 '21 10:03 irlaec