feat(spec): Add querystring support compatible with OAS 3.2#443
feat(spec): Add querystring support compatible with OAS 3.2#443frankkilcommins wants to merge 2 commits intoOAI:v1.1-devfrom
Conversation
| operationId: $sourceDescriptions.api.searchItems | ||
| parameters: | ||
| - name: q | ||
| in: querystring No newline at end of file |
There was a problem hiding this comment.
It might be helpful to include another fail example that demonstrates the case where querystring and query parameters cannot coexist.
There was a problem hiding this comment.
@DmitryAnansky I thought about that for quite a while before submitting the PR, and ultimately landed at the conclusion of that constraint check being an OpenAPI responsibility rather than Arazzo's.
If an OpenAPI operation described query and querystring parameters, then that would be an invalid OpenAPI Description (or Document) based on the following constraint described in OpenAPI 3.2's Parameter Object description of parameters with in: querystring:
MUST NOT appear in the same operation (or in the operation’s path-item) as any in: "query" parameters
30b9f39
fixes #438