jdkandersson / OpenAlchemy

Define SQLAlchemy models using the OpenAPI specification.
https://openapi-sqlalchemy.readthedocs.io/en/latest/
Apache License 2.0
47 stars 13 forks source link

Support duration #379

Open MihailMiller opened 2 years ago

MihailMiller commented 2 years ago

Besides the Types "Date" and "DateTime" SQLAlchemy also supports "Interval". This type corresponds to the "duration" format from the JSON Schema/OpenAPI specification (https://json-schema.org/understanding-json-schema/reference/string.html).