Skip to main content

query-param-collision

Forbids a scalar query parameter from sharing a name with a property exposed by a form-exploded object query parameter in the same operation.

AttributeValue
CategoryParameters
MaturityPlatinum
Lenient–StrictWarning
Recommended–CompleteError

See it fail

parameters:
- in: query
name: filter
style: form
explode: true
schema:
type: object
properties:
status: { type: string }
- in: query
name: status
schema: { type: string }

Both parameters serialize a status query key.

Fix it

Rename or remove the scalar parameter, or change the object serialization contract.

Nearby: required-query-object-conflict, operation-parameters-unique.