-
Notifications
You must be signed in to change notification settings - Fork 9.1k
allOf required property not composing properly #3328
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
Comments
I have a fix for this issue in the swagger-js repository. You can track the PR here: swagger-api/swagger-js#1101 |
@webron and @owenconti - thanks for the quick response. How often do you guys release to production? |
We try to every Friday, meaning the fix is already included in the release. However, I'm still seeing the issue. @owenconti? |
@webron The PR in the swagger-js repo was merged just last night. It should be in the upcoming release then, shouldn't it? |
Oh! I thought it was merged last week, my bad. @baynezy expect the fix to be live this upcoming Friday. |
Perfect thanks. |
@baynezy mind testing with the latest version? |
@webron - that works as I had hoped. Thank you very much. |
Thanks for verifying! Closing. |
From @baynezy on July 3, 2017 13:46
If you take the following swagger definition:-
Then
newUser
is a composite ofuser
and the additional properties defined onnewUser
. In the Swagger Editor the UI shows this correctly.However, it should also compose the
required
property which it is failing to do.user
states thatusername
,firstName
, andlastName
are required, andnewUser
states thatemail
, androles
are required. However, it is only marking those onnewUser
as required.This should be a super-set of these.
Copied from original issue: swagger-api/swagger-editor#1390
The text was updated successfully, but these errors were encountered: