-
-
Notifications
You must be signed in to change notification settings - Fork 211
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
Validation failure #341
Comments
@tumkurrunner can you provide the example request it would be good to solve these issues first i.e. that one noted above. also, it will be great if you can provide a canonical version of this spec with the minimum to reveal the error. it will certainly help to make the investigation simpler. |
Don't worry I found a work around, I got the answer from here OAI/OpenAPI-Specification#2141 (comment). |
@tumkurrunner i'm working on an initial version of discriminator support. it will start by supporting top level types. will expand it to this use case. #461 |
I am trying to use the discriminator feature .What's the actual state regarding this matter? Can anyone shed some light on it? |
Description:
Problem using Inheritance model
I have a base type Activity and Subtypes SubActivity1 SubActivity2 & SubActivity3 with discriminator propertyName set correct but still I get an error request should match exactly one schema in oneOf. Just to make if the spec is valid I tried https://bitbucket.org/atlassian/swagger-request-validator/src and validation is successful.
I have added the test yaml for reference.
The text was updated successfully, but these errors were encountered: