Juan Hernandez has submitted this change and it was merged.
Change subject: restapi: Implicitly add Content-Type to RSDL
......................................................................
restapi: Implicitly add Content-Type to RSDL
Currently the Content-Type header is documented in the RSDL manually,
but it fact it is used by all the operations that can potentially send a
request body, so it is better to implicity add it to all these
operations and remove it from the metadata file.
Change-Id: I5ebe12467922fb5c6ee407865fcae72e55646b6d
Signed-off-by: Juan Hernandez <juan.hernandez(a)redhat.com>
---
M
backend/manager/modules/restapi/interface/definition/src/main/java/org/ovirt/engine/api/rsdl/RsdlBuilder.java
M
backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
2 files changed, 25 insertions(+), 327 deletions(-)
Approvals:
Juan Hernandez: Verified; Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/39461
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5ebe12467922fb5c6ee407865fcae72e55646b6d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez(a)redhat.com>
Gerrit-Reviewer: Ori Liel <oliel(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server