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
I'm also trying to use the any type. It's sort of working but I receive an unmarshaller warning that seems like it should just be removed? I'm using the following schema and data.
"Any Type" is part of the specification ( https://swagger.io/docs/specification/data-models/data-types/#any ), however this library does not support it.
The problem seems that, when creating the
Schema
for a schema spec that has{}
as its value (meaning "anything can be used as input here"), it is created with anobject
type - see here: https://github.com/p1c2u/openapi-core/blob/master/openapi_core/schemas.py#L179 - it tries to infer "object" by default.After checking the schema types ( https://github.com/p1c2u/openapi-core/blob/master/openapi_core/enums.py#L27 ) I can see that "any" is not there.
Please let me know if you need help with implementing that.
Thanks,
Diogo
The text was updated successfully, but these errors were encountered: