Skip to content

Add ability to generate multiple OpenAPI docs #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 26, 2021
Merged

Add ability to generate multiple OpenAPI docs #41

merged 1 commit into from
Mar 26, 2021

Conversation

jrmcdonald
Copy link
Contributor

This commit adds a new extension property groupedApiMappings allowing a user of this plugin to specify multiple mappings of api url to file name. This is intended for use in projects utilising the springdoc GroupedOpenApi feature.

When the groupedApiMappings property is specified the single api properties apiDocsUrl and outputFileName are ignored. The plugin attempts to download each mapping in turn.

This commit adds a new extension property `groupedApiMappings` allowing
a user of this plugin to specify multiple mappings of api url to file
name. This is intended for use in projects utilising the springdoc
GroupedOpenApi feature.

When the `groupedApiMappings` property is specified the single api
properties `apiDocsUrl` and `outputFileName` are ignored. The plugin
attempts to download each mapping in turn.

Fixes #40
@jrmcdonald
Copy link
Contributor Author

Hi @bnasslahsen, I was just wondering if you had a chance to have a look at the above yet? No worries if not!

@bnasslahsen
Copy link
Contributor

Hi @jrmcdonald,

Sorry for the delay. I haven't noticed your PR.
I will have a look today.

@bnasslahsen bnasslahsen merged commit 3c3e275 into springdoc:master Mar 26, 2021
@bnasslahsen
Copy link
Contributor

bnasslahsen commented Mar 26, 2021

@jrmcdonald,

Thank you for your complete PR.

@jrmcdonald
Copy link
Contributor Author

@bnasslahsen Fantastic, thanks for accepting this and merging it!

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