OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
20.6k stars 6.29k forks source link

[csharp][generichost] Add options for model parameter sorting #18886

Closed devhl-labs closed 3 weeks ago

devhl-labs commented 3 weeks ago

Moves the changes made here https://github.com/OpenAPITools/openapi-generator/pull/18706 to an option. The plan is to change the sorting method to default when we get to 8.0 with the samples using alphabetical sorting. Some of the samples were changed to alphabetical now because there is a model in the petstore that does not work with legacy.

PR checklist