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 additional default schema properties in TypeUtil, SchemaFactory #195

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

MikeEdgar
Copy link
Member

Fixes #193

  • Add java.util.UUID and java.net.URI to the TYPE_MAP in TypeUtil and allow for UUID to be a registered type, referenced with $ref if used in multiple locations.
  • Reverse how defaults and @Schema are read for annotated fields. Previously, the defaults from TypeUtil were preferred. The changes in SchemaFactory allow for the user-specified @Schema on a field to be used.
  • Several non-functional updates to get rid of Sonar code smells

@MikeEdgar MikeEdgar mentioned this pull request Oct 16, 2019
Copy link
Contributor

@EricWittmann EricWittmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work, as per usual. :)

@EricWittmann EricWittmann merged commit 638a32b into smallrye:master Oct 23, 2019
@MikeEdgar MikeEdgar deleted the uuid_support branch October 23, 2019 23:12
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

Successfully merging this pull request may close these issues.

UUID Support
2 participants