LiveRamp / reslang

A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Apache License 2.0
23 stars 7 forks source link

Add rfc3339datetime primitive type #175

Closed njaczko closed 3 years ago

njaczko commented 3 years ago

OpenAPI has a date-time format for strings that is equivalent to RFC3339: https://swagger.io/docs/specification/data-models/data-types/

Reslang's datetime primitive type does not take advantage of this standard OpenAPI format. This PR adds a rfc3339datetime primitive type. When used, the generated OpenAPI spec will use the standard date-time (RFC333) format.

ops-github-DU4JOAWE commented 3 years ago

This change is Reviewable