Skip to content

Conversation

adrianstanciu
Copy link

Fixes OpenAPI module ordering to respect settings.gradle.kts include() order, rather than alphabetical order

adrianstanciu and others added 4 commits June 27, 2025 09:47
…order

- Modified copySubProjectsOpenAPIFiles task to sort modules based on the order defined in settings.gradle.kts
- Replaced alphabetical ordering with custom sorting that uses rootProject.subprojects order
- Unknown modules are placed at the end using Int.MAX_VALUE as sort key
- This ensures the generated OpenAPI specification preserves the intended module sequence
@jreynard-code jreynard-code force-pushed the swagger-sections-reordering branch from ec40c02 to b9baef2 Compare June 27, 2025 07:59
@adrianstanciu adrianstanciu marked this pull request as draft June 27, 2025 13:27
@adrianstanciu
Copy link
Author

need to rethink this as explained by JREY today

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