We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff3854 commit 2b38f5cCopy full SHA for 2b38f5c
modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/util/ResolverFully.java
@@ -171,6 +171,11 @@ public void resolvePath(PathItem pathItem){
171
for (Map.Entry<String, Header> header : headers.entrySet()) {
172
Header value = header.getValue();
173
Header resolvedValue = value.get$ref() != null ? resolveHeader(value) : value;
174
+ Map<String, Example> examples = resolvedValue.getExamples();
175
+ if(examples != null) {
176
+ Map<String,Example> resolved = resolveExample(examples);
177
+ resolvedValue.setExamples(resolved);
178
+ }
179
header.setValue(resolvedValue);
180
}
181
0 commit comments