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

Support for Optional in schemas #442

Closed
geo-m opened this issue Feb 2, 2022 · 0 comments
Closed

Support for Optional in schemas #442

geo-m opened this issue Feb 2, 2022 · 0 comments

Comments

@geo-m
Copy link

geo-m commented Feb 2, 2022

Hi, i have a class

Foo {
Optional<String> bar;
}

The DefinitionGenerator fails with a NullPointerException.

Is there a plan to support this and display it as type: the optional generic type in the schemas? It is needed for Jackson PATCH. Thank you

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

No branches or pull requests

2 participants