oav
oav copied to clipboard
Unexpected error when resolving object parameter
This PR is facing ModelValidation
errors. One failure code in two methods:
As far as I can tell for both cases, the examples actually implement this properly. This tells me it's an oav failure.
-
INVALID_TYPE
-> Expected type object but found array- We are improperly retrieving metadata, causing us to throw when we shouldn't.
-
INVALID_TYPE
-> Expected type object but found type string- Indicates that we aren't mapping the target schema property. However, all of the examples failing this check, we have added the
type
property to the originating schema, and we are providing a full object within the examples. There is a lookup failing for some reason.
- Indicates that we aren't mapping the target schema property. However, all of the examples failing this check, we have added the
In both cases, it is to do with the fact that we are not property mapping the schema type.