Skip to content

Conversation

@petterroea
Copy link
Contributor

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 petterroea changed the title Sort lazy imports to increase stability Sort lazy imports to increase stability of generated code Dec 12, 2025
@dbanty dbanty changed the title Sort lazy imports to increase stability of generated code fix: Sort lazy imports to increase stability of generated code Jan 10, 2026
@dbanty dbanty added this pull request to the merge queue Jan 10, 2026
Merged via the queue into openapi-generators:main with commit 013eddb Jan 10, 2026
22 checks passed
@knope-bot knope-bot bot mentioned this pull request Jan 10, 2026
github-merge-queue bot pushed a commit that referenced this pull request Jan 10, 2026
> [!IMPORTANT]
> Merging this pull request will create this release

## Fixes

- Apply required overrides from allOf schemas (#1384)
- Sort lazy imports to increase stability of generated code (#1378)

Co-authored-by: knope-bot[bot] <152252888+knope-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants