You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* #7359 Fix - use reflection to instantiate non-generated class (#7360)
* add tests for java vertx petstore
* add swagger example to README.md (#7368)
* Fix assignment of new object instance to variable
Fixes `Error in foobar$fromJSONString(s) : object 'CategoryObject' not found`
Discussion in #6520 (comment) ,
thanks @wing328 for encouraging.
Description
Originally reported by @wing328 in #7230
mvn test
fails for the server samples generated byjava-vertx-async-petstore-server.sh
java-vertx-rx-petstore-server.sh
Original template attempts to instantiate a non-generated class leading to a compile error.
To fix, we can use reflection to push instantiation of the required class to runtime.
Swagger-codegen version
All versions that with vertx async & rx support
Swagger declaration file content or url
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: