Unable to validate when specification having oneOf references #1084
Unanswered
gurubabujampala
asked this question in
Ask For Help
Replies: 1 comment 5 replies
-
Hi @gurubabujampala, thanks for reporting this! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experimenting with the open API specification using the oneOf keyword. Reference: https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/
Example API in the specification:
When I try to execute with specimatic, getting the below error
It appears that Specmatic is prioritizing the initial reference of CustomerAddress and attempting to align all subsequent examples with this reference.
Could you assist me in pinpointing any areas where I might be missing in this situation?
Beta Was this translation helpful? Give feedback.
All reactions