Motivation
{
"time": "2023-12-06T20:45:17.385Z",
"url": "https://example.com"
}
For the above json data. The currently valid openapi.yml will use string to represent "time" and "url".
I'm hoping to somehow add support for URL and Date types directly on swift-openapi-generator.
Proposed solution
-
Add a variant for OpenAPI 3.1 to allow "url" and "date" for type. (Not recommended)
-
...
Alternatives considered
None
Additional information
No response
Motivation
For the above json data. The currently valid
openapi.ymlwill usestringto represent "time" and "url".I'm hoping to somehow add support for URL and Date types directly on swift-openapi-generator.
Proposed solution
Add a variant for OpenAPI 3.1 to allow "url" and "date" for type. (Not recommended)
...
Alternatives considered
None
Additional information
No response