Spectral oas3-valid-schema-example error on valid schema using allOf inheritance #2275
Unanswered
adriaanbastien
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello community,
I have a question regarding spectral linting / validation.
I get a failure on something that (i think) is valid.
spectral linting gives me an error against oas3-valid-schema-example;
470:16 error oas3-valid-schema-example "example" property type must be object components.schemas.wrongParametersError_invalidParameters.example
the objects in my openapi specification look as followed;
`
components:
problem:
can somebody help me out with this one? Or check if the same error occurs with them?
thanks in advance,
Adriaan
Beta Was this translation helpful? Give feedback.
All reactions