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 java code generation for UUIDProperty #1899

Merged
merged 1 commit into from
Jan 23, 2016
Merged

Support java code generation for UUIDProperty #1899

merged 1 commit into from
Jan 23, 2016

Conversation

hiveship
Copy link
Contributor

A property defined as "type: string & format: uuid" is now generated in
Java using "java.util.UUID" class instead of a classical String. In the
Java, the UUID class do not provide a constructor. You may use the
method UUID.fromString(<uuid_string>) to construct your UUID object.

A property defined as "type: string & format: uuid" is now generated in
Java using "java.util.UUID" class instead of a classical String. In the
Java, the UUID class do not provide a constructor. You may use the
method UUID.fromString(<uuid_string>) to construct your UUID object.
@fehguy
Copy link
Contributor

fehguy commented Jan 15, 2016

Thank you--I need to confirm this does not break any of the other clients before merging

@hiveship
Copy link
Contributor Author

Ok, good. I admit that I have only checked Ruby, PHP, Java and JAX-RS generation.

@hiveship
Copy link
Contributor Author

@fehguy some news ? Did I need to change anything ?

@fehguy fehguy merged commit faa4ecd into swagger-api:master Jan 23, 2016
@wing328 wing328 added this to the v2.1.6 milestone Jan 23, 2016
@hiveship hiveship deleted the java-support-uuid-generation branch January 25, 2016 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants