The Wayback Machine - https://web.archive.org/web/20220407141618/https://github.com/topics/jsonpath
Skip to content
#

jsonpath

Here are 169 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

enhancement good first issue OpenAPI
spyzhov
spyzhov commented Jun 22, 2020

Switch to typed consts

type OperationPriority uint8

const (
	PriorityUnknown OperationPriority = iota
	PriorityOr
	PriorityAnd
	PriorityEq
	PrioritySum
	PriorityBit
	PriorityMul
	PriorityPow
)

	priority = map[string]OperationPriority{
		"**": PriorityPow, // additional: power
		"*":  PriorityMul,
		"/":  PriorityMul,
		"%":  PriorityMul,
good first issue
JSONPath

Improve this page

Add a description, image, and links to the jsonpath 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 jsonpath topic, visit your repo's landing page and select "manage topics."

Learn more