Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error when resolving object parameter #977

Open
scbedd opened this issue May 22, 2023 · 0 comments
Open

Unexpected error when resolving object parameter #977

scbedd opened this issue May 22, 2023 · 0 comments
Assignees

Comments

@scbedd
Copy link
Member

scbedd commented May 22, 2023

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.

In both cases, it is to do with the fact that we are not property mapping the schema type.

@scbedd scbedd self-assigned this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant