You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where OpenApiFormat is a sealed trait. This means that one cannot define custom primitives with arbitrary formats whilst the OpenAPI Data Types spec states:
However, format is an open value, so you can use any formats, even not those defined by the OpenAPI Specification,
...
Tools can use the format to validate the input or to map the value to a specific type in the chosen programming language. Tools that do not support a specific format may default back to the type alone, as if the format is not specified.
The text was updated successfully, but these errors were encountered:
Currently
SwaggerPrimitive
is defined aswhere
OpenApiFormat
is asealed trait
. This means that one cannot define custom primitives with arbitrary formats whilst the OpenAPI Data Types spec states:The text was updated successfully, but these errors were encountered: