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
{{ message }}
Repository navigation
Fallback to standard string handling for unknown "format" values #64
Is your feature request related to a problem? Please describe.
If a string field uses an arbirtrary custom "format" value, as allowed by the OpenAPI spec, it is rejected by the parser.
Describe the solution you'd like
As it is guaranteed to be a string, even if the exact format is unknown, I suggest that the parser should follow the recommended behaviour in the spec and fall back to handling the field as a plain string. This is the behaviour recommended by the specification:
Tools that do not support a specific format may default back to the type alone, as if the format is not specified.
Activity
Merge branch 'issue/openapi-generatorsgh-64'
dbanty commentedon Jun 13, 2020
Changes are merged in and will be available in 0.4.2.