-
-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
I have a OpenAPI spec that includes the following component that confuses the openapi_generator to no end:
"ValidationError": {
"title": "ValidationError",
"required": [
"loc",
"msg",
"type"
],
"type": "object",
"properties": {
"loc": {
"title": "Location",
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
}
}This winds up with a AnyOfstringinteger which isn't generated.
Metadata
Metadata
Assignees
Labels
No labels