mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-11-22 11:33:58 +00:00
* [python-fastapi] Fix: Skip sorting of path operations (#22163) Make use of helpful code added in 243f501aef2e6d472606e6db59ef31ee3b1338f9 to skip sorting of path parameters. In FastAPI, order matters, see link for details: https://fastapi.tiangolo.com/tutorial/path-params/?h=path#order-matters Issue: https://github.com/OpenAPITools/openapi-generator/issues/22163 * Update samples after previous commit Reading comprehension is hard. I missed the part of step 3 where samples would be updated in response to the change I had previous submitted. Via this commit, update samples to match expectations. The order of various endpoint implementations is now changed in the sample, matchcing the order in the yaml files that created them.