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][library: vertx] Allow subclass override of http server port for testing #7478

Closed
ccozzolino opened this issue Jan 23, 2018 · 0 comments

Comments

@ccozzolino
Copy link
Contributor

Description

For testing, we need the ability to override the http server port without having to generate a custom testing spec with an overridden host value.

Swagger-codegen version

All versions with vertx async & rx server support

Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement

Modify the MainApiVerticle.mustache template to allow a subclass to override the serverPort value assigned by the spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants