Clear the initial content-type for DELETE requests 49/93649/1 stable/sodium
authorTibor Král <tibor.kral@pantheon.tech>
Mon, 9 Nov 2020 14:59:12 +0000 (15:59 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 10 Nov 2020 14:18:34 +0000 (14:18 +0000)
commite5f489a946137e58cf8c2941fe525f0e07fe06fb
treed6f53b426af532bd30ae3e1fa8abc5b6c99b81ae
parent49eba572dcbe517ce7cf7ef0ad7a7ed82f7d8dd1
Clear the initial content-type for DELETE requests

The content-type was initialized to application/json. Therefore it was
applied even for the DELETE request where it is not needed.
When initialized with NULL text/plain will be used instead.

JIRA: NETCONF-732
Change-Id: If369baccfb9b478ff8857a9da7ebd5c1173e4c8d
Signed-off-by: Tibor Král <tibor.kral@pantheon.tech>
(cherry picked from commit 849e00b3147552250e1713032aa6ff7c478577ab)
restconf/sal-rest-docgen/src/main/resources/explorer/lib/swagger.js
restconf/sal-rest-docgen/src/main/resources/explorer/static/swagger.js