Skip to content

Commit 8fb33ce

Browse files
authored
Merge pull request #1294 from brhaible/issue-1273
Fix duplicate '.responses' in location string.
2 parents 7612e89 + fe94140 commit 8fb33ce

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/util/OpenAPIDeserializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2669,7 +2669,7 @@ public ApiResponses getResponses(ObjectNode node, String location, ParseResult r
26692669
apiResponses.setExtensions(extensions);
26702670
}
26712671
} else {
2672-
ObjectNode obj = getObject(key, node, false, String.format("%s.%s", location, "responses"), result);
2672+
ObjectNode obj = getObject(key, node, false, location, result);
26732673
if (obj != null) {
26742674
ApiResponse response = getResponse(obj, String.format("%s.%s", location, key), result);
26752675
if (response != null) {

0 commit comments

Comments
 (0)