Code Review
/
netconf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Clear the initial content-type for DELETE requests
[netconf.git]
/
restconf
/
sal-rest-docgen
/
src
/
main
/
resources
/
explorer
/
static
/
swagger.js
diff --git
a/restconf/sal-rest-docgen/src/main/resources/explorer/static/swagger.js
b/restconf/sal-rest-docgen/src/main/resources/explorer/static/swagger.js
index a03779011b11e27c12e750ef42e25852f3326818..ba81b35de247f34d128d7e99cd0000f35e340c5d 100644
(file)
--- a/
restconf/sal-rest-docgen/src/main/resources/explorer/static/swagger.js
+++ b/
restconf/sal-rest-docgen/src/main/resources/explorer/static/swagger.js
@@
-906,6
+906,9
@@
requestContentType = this.opts.requestContentType;
}
} else {
+ if (this.type === "DELETE") {
+ requestContentType = null;
+ }
if (((function() {
var _i, _len, _ref, _results;
_ref = this.operation.parameters;