Skip to content

Commit d1580de

Browse files
committed
downconverter; rename response.links to x-links, refs #19
1 parent 2939f58 commit d1580de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/orange/downconvert.js

+4
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ function convertResponses(openApiSpec, operation) {
205205
delete header.schema;
206206
}
207207
}
208+
if (response.links) {
209+
response["x-links"] = response.links;
210+
delete response.links;
211+
}
208212
}
209213
}
210214

0 commit comments

Comments
 (0)