-
Notifications
You must be signed in to change notification settings - Fork 85
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 with multiple schemas adds additional square bracks in example #378
base: master
Are you sure you want to change the base?
allOf with multiple schemas adds additional square bracks in example #378
Conversation
…ts are added around the resulting example
# Conflicts: # src/test/java/io/swagger/oas/test/examples/ExampleBuilderTest.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @richard-walsh-sb, I suggest to use the option resolveCombinators set to false.
Like this:
ParseOptions options = new ParseOptions();
options.setResolve(true);
options.setResolveFully(true);
options.setResolveCombinators(false);
I have tested locally and the example is generated without the extra bracks.
The ComposedSchema won’t be merged into one though, but the example will generate fine. Do you need the composedSchema merged into one new Schema?
@richard-walsh-sb, I tried a different solution and this is the outcome: Will this work ? or pagination needs to be on a diferent node?
|
…ctor into bug/multipleAllOf
mea culpa, fix bad example
…sb/swagger-inflector into bug/multipleAllOf
9d6fa76
to
6c0c54d
Compare
No description provided.