Skip to content
#

json-lint

Here are 11 public repositories matching this topic...

spectral
rossmcdonald
rossmcdonald commented Jan 6, 2021

While not technically in violation of the OpenAPI specification, including a query parameter in a path should be flagged as an error in Spectral:

A path has specific meaning in HTTP as a part of a URL that comes after the host name and before the query string or fragment. A "path item" key must be only a path, it cannot have a query string or a fragment.

For example, the following when def

Improve this page

Add a description, image, and links to the json-lint topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the json-lint topic, visit your repo's landing page and select "manage topics."

Learn more