Skip to content
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

Java client: Add constants for libraries #163

Merged
merged 1 commit into from
May 28, 2018

Conversation

jmini
Copy link
Member

@jmini jmini commented May 28, 2018

This PR adds constants for the libraries in the JavaClientCodegen.

This is useful, when OpenAPI Generator is used directly (no maven, no cli):

JavaClientCodegen config = new JavaClientCodegen();
config.setLibrary(JavaClientCodegen.OKHTTP_GSON);

It might also be useful in the unit tests.

@wing328 wing328 added this to the 3.0.0 milestone May 28, 2018
@jmini jmini merged commit 1a4e5a4 into OpenAPITools:master May 28, 2018
nilskuhn pushed a commit to nilskuhn/openapi-generator that referenced this pull request Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants