Juan Hernandez has uploaded a new change for review. Change subject: restapi: Remove redudant parameter types from RSDL metadata ......................................................................
restapi: Remove redudant parameter types from RSDL metadata The "resetemulatedmachine" operation explicitly documents the "Content-Type" and "Correlation-Id" headers, but these are already implicitly added to all operations. The net result is that they appear twice in the generated RSDL document, and this induces a duplicated parameter in the code generated for the SDKs. This patch removes the headers from the RSDL metadata file. Change-Id: I6c382b88300622213b20e72912614da65fdb7747 Signed-off-by: Juan Hernandez <[email protected]> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml 1 file changed, 0 insertions(+), 4 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/05/39905/1 diff --git a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml index ccbf466..430d032 100644 --- a/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml +++ b/backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml @@ -1345,10 +1345,6 @@ body: parameterType: Action signatures: [] - urlparams: {} - headers: - Content-Type: {value: application/xml|json, required: true} - Correlation-Id: {value: 'any string', required: false} - name: /clusters/{cluster:id}/networks/{network:id}|rel=get description: get the details of the specified network in the cluster - name: /clusters/{cluster:id}/networks/{network:id}|rel=delete -- To view, visit https://gerrit.ovirt.org/39905 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6c382b88300622213b20e72912614da65fdb7747 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
