Skip to content

Commit 445916c

Browse files
author
Milosz Tarka
committed
SWG-7517 covering another case
1 parent 97fc27e commit 445916c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/swagger-codegen/src/main/java/io/swagger/codegen/v3/config/CodegenConfigurator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,8 +620,7 @@ public ClientOptInput toClientOptInput() {
620620
.openAPI(openAPI);
621621

622622
if (config.needsUnflattenedSpec()) {
623-
ParseOptions optionsUnflattened = new ParseOptions();
624-
optionsUnflattened.setResolve(true);
623+
ParseOptions optionsUnflattened = buildUnflattenedParseOptions();
625624
SwaggerParseResult resultUnflattened = new OpenAPIParser().readLocation(sanitizedSpecificationUrl, authorizationValues, optionsUnflattened);
626625
OpenAPI openAPIUnflattened = resultUnflattened.getOpenAPI();
627626
config.setUnflattenedOpenAPI(openAPIUnflattened);

0 commit comments

Comments
 (0)