Skip to content

Commit fbbfd8c

Browse files
authored
Merge pull request #1523 from rmzzz/patch-1
Fix URISyntaxException for $ref to path with param
2 parents 676f323 + 4ebf8c6 commit fbbfd8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/processors/ExternalRefProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ private void processRefSchemaObject(Schema schema, String $ref) {
866866
if (schema.get$ref() != null) {
867867
RefFormat ref = computeRefFormat(schema.get$ref());
868868
if (isAnExternalRefFormat(ref)) {
869-
processRefSchema(schema, $ref);
869+
processRefSchema(schema, file);
870870
} else {
871871
processRefToExternalSchema(file + schema.get$ref(), RefFormat.RELATIVE);
872872
}

0 commit comments

Comments
 (0)