CenterEdge / Yardarm

OpenAPI 3 SDK Generator for C#
Apache License 2.0
46 stars 6 forks source link

Generate properties for parameters included on path items #246

Closed brantburnett closed 3 months ago

brantburnett commented 3 months ago

Currently, properties are only generated for parameters listed explicitly on each operation (except for simple string properties for route parameters). The OpenAPI spec allows for parameters to be defined at the path level and then overridden for each operation.

This implements that behavior, handling query and header parameters defined at the path level and using the correct schema for route parameters defined at the path level.

Relates to #239

brantburnett commented 3 months ago

/merge