apple / swift-openapi-generator

Generate Swift client and server code from an OpenAPI document.
https://swiftpackageindex.com/apple/swift-openapi-generator/documentation
Apache License 2.0
1.45k stars 121 forks source link

Include path item parameters in filter #658

Closed czechboy0 closed 1 month ago

czechboy0 commented 1 month ago

Motivation

When filtering by a specific operationId, any path item-level parameters were not included (only operation-level parameters).

Modifications

Include path item level parameters.

Result

No errors for missing references when filtering for operations that have a path item-level parameter with a reference.

Test Plan

Adapted unit tests to cover this.