Martin Zdarsky-Jones

Results 14 comments of Martin Zdarsky-Jones

Pull request: https://github.com/knowm/XChange/pull/4727

please consider requiredMode too. ``` @Nullable @Schema( nullable = true, requiredMode = RequiredMode.NOT_REQUIRED ) private String field; ``` neither of these 3 approaches work. * @Nullable * nullable = true...

thank you @DavDeDev, @ewaostrowska for the unit test. I've reused it in the pull request to fix this issue. https://github.com/swagger-api/swagger-core/pull/5018

@Mattias-Sehlstedt I have just tried it with ``` static { io.swagger.v3.core.jackson.ModelResolver.enumsAsRef = true; } ``` it makes no difference. The schema is not present if the only reference to that...