-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
allOf for request bodies does not respect definition order of properties #507
Comments
I'm having this problem, too. I have a nightmarism API I'm documenting with multiple nested allOf calls, and it comes out looking awful because of this. |
If @RomanGotsiy or somebody else can point me in the right direction, I could try to figure this out. No promises or anything, but it might be worth the effort. |
I noticed this, too. It seems to be related specifically to |
I know this was just closed, but I want to add that my issue was related to a field being defined in two of the |
Can it be reproduced on the latest |
I was just trying to add information for anyone that may write technically invalid OAS 3 specs. I can try to test the double-definition thing later, but I'll probably forget to do it. :-\ Either way, I think my particular issue was Bad Specs rather than a ReDoc bug. |
Got it! thanks for the update |
Consider the following definition:
This results in the following renderings:
I would expect
password
andmobile
to be at the bottom, i.e. in the order they appear in the source code.Switching the order of the two array items under
allOf
does not alter the output.The text was updated successfully, but these errors were encountered: