Skip to content

Commit 1f0a435

Browse files
committed
SWG-9288 adding parseoptions in second case
1 parent e51ae2d commit 1f0a435

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-parser/src/main/java/io/swagger/parser/SwaggerParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public Swagger read(String location, List<AuthorizationValue> auths, ParseOption
8787
if (output != null) {
8888
if (options != null) {
8989
if (options.isResolve()) {
90-
output = new SwaggerResolver(output, auths, location).resolve();
90+
output = new SwaggerResolver(output, auths, location, null, options).resolve();
9191
}
9292
if (options.isFlatten()) {
9393
InlineModelResolver inlineModelResolver = new InlineModelResolver();

0 commit comments

Comments
 (0)