Bug Report Checklist
Description
When vertx transitioned from version 4 to 5, they split the http pool options out of the HttpClientOptions class and into a separate PoolOptions class. The PoolOptions is passed as a separate parameter into the WebClient factory method.
Currently, the vertx ApiClient's constructor only accepts a WebClientOptions config, meaning that when using vertx 5, it's impossible to configure the PoolOptions for the client.
openapi-generator version
7.22.0
OpenAPI declaration file content or url
The example generated client for vertx5 in the repo already shows the lack of PoolOptions configurability.
Generation Details
Run the generator for the vertx5 sample
Steps to reproduce
- Run
generate-samples.sh
- Go to the generated sample code.
- Notice that the
ApiClient doesn't support a way to pass a PoolOptions into the underlying WebClient
Related issues/PRs
Vertx 5 support was added in #23563
Suggest a fix
When the useVertx5 option is enabled, the ApiClient needs to have another constructor that has a param for the PoolOptions config, and the code in ApiClient needs to be updated to pass that config into its WebClient creation.
Bug Report Checklist
Description
When vertx transitioned from version 4 to 5, they split the http pool options out of the
HttpClientOptionsclass and into a separatePoolOptionsclass. ThePoolOptionsis passed as a separate parameter into theWebClientfactory method.Currently, the vertx
ApiClient's constructor only accepts aWebClientOptionsconfig, meaning that when using vertx 5, it's impossible to configure thePoolOptionsfor the client.openapi-generator version
7.22.0
OpenAPI declaration file content or url
The example generated client for vertx5 in the repo already shows the lack of
PoolOptionsconfigurability.Generation Details
Run the generator for the vertx5 sample
Steps to reproduce
generate-samples.shApiClientdoesn't support a way to pass aPoolOptionsinto the underlyingWebClientRelated issues/PRs
Vertx 5 support was added in #23563
Suggest a fix
When the
useVertx5option is enabled, theApiClientneeds to have another constructor that has a param for thePoolOptionsconfig, and the code inApiClientneeds to be updated to pass that config into itsWebClientcreation.