ebowman / api-first-hand

API-First bootstrapping tool for building RESTful web services from a Swagger/OpenAPI spec
MIT License
143 stars 22 forks source link

Add UUID as Primitive Type #14

Closed pocman closed 8 years ago

pocman commented 8 years ago

Hi,

What do you think about supporting UUID as a Primitive Type ? Something like : type: string, format: uuid => java.util.UUID

Looking in the code, I saw this : https://github.com/zalando/api-first-hand/blob/0fcdb21d09aefda1ba06556be052c5db8d1a9125/swagger-parser/src/main/scala/de/zalando/swagger/ValidationsConverter.scala#L62

pocman commented 8 years ago

See https://github.com/zalando/api-first-hand/pull/15