GetShopTV / swagger2

Swagger 2.0 data model.
http://hackage.haskell.org/package/swagger2
BSD 3-Clause "New" or "Revised" License
74 stars 59 forks source link

Use "date-time" format for UTCTime #239

Open kaol opened 2 years ago

kaol commented 2 years ago

The current format definition for UTCTime makes swagger-codegen-cli use (at least with javascript code generation) String as the data type. Using date-time (as defined in https://swagger.io/docs/specification/data-models/data-types/) instead makes it use Date instead.