Skip to content

feat: multiple api-groups per module#441

Merged
ndr-brt merged 1 commit intomainfrom
440-multiple-api-groups
Apr 17, 2026
Merged

feat: multiple api-groups per module#441
ndr-brt merged 1 commit intomainfrom
440-multiple-api-groups

Conversation

@ndr-brt
Copy link
Copy Markdown
Member

@ndr-brt ndr-brt commented Apr 16, 2026

What this PR changes/adds

Adds a apiGroup() method in the swagger extension that permits to add multiple api groups in the same module.
By doing this, it will be possible to generate different openapi spec files out of a single module.

the current apiGroup property has been deprecated.

Why it does that

Briefly state why the change was necessary.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #440

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt requested a review from a team as a code owner April 16, 2026 13:12
@ndr-brt ndr-brt added the enhancement New feature or request label Apr 16, 2026
}

private static @NonNull Set<ApiGroup> getApiGroups(SwaggerGeneratorExtension swaggerExt) {
return swaggerExt.getApiGroup()
@ndr-brt ndr-brt force-pushed the 440-multiple-api-groups branch from b58714d to bcbd15d Compare April 16, 2026 13:15
@ndr-brt ndr-brt force-pushed the 440-multiple-api-groups branch from bcbd15d to 62bf0c4 Compare April 16, 2026 15:14
@ndr-brt ndr-brt merged commit 6923581 into main Apr 17, 2026
7 checks passed
@ndr-brt ndr-brt deleted the 440-multiple-api-groups branch April 17, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make swagger resolve task support multiple groups per module

3 participants