openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

Sort lazy imports to increase stability of generated code

Open petterroea opened this issue 1 month ago • 0 comments

Lazy imports of models aren't sorted, which causes them to be unstable and change from run to run. This is distracting in situations where you have a CI action automatically generating an API client and passing it as a PR to another repo.

This PR fixes this.

petterroea avatar Dec 12 '25 07:12 petterroea