Juan Hernandez has uploaded a new change for review. Change subject: restapi: No trailing / in network labels metadata ......................................................................
restapi: No trailing / in network labels metadata The RSDL metadata that describes the operations to add network labels contains an extra slash at the end of the URL. This makes the RSDL generator ignore the URL. As a result the RSDL documentation doesn't contains the headers, and the SDKs are generated incorrectly. Change-Id: I88781dad71e9dca372de6a84c5c2eb3c8d36c21f Bug-Url: https://bugzilla.redhat.com/1099415 Signed-off-by: Juan Hernandez <[email protected]> --- M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/46/27946/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 1bf1216..9b1e2a5 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 @@ -1273,7 +1273,7 @@ signatures: [] urlparams: {} headers: {} -- name: /datacenters/{datacenter:id}/networks/{network:id}/labels/|rel=add +- name: /datacenters/{datacenter:id}/networks/{network:id}/labels|rel=add description: add a new label to the network request: body: @@ -2846,7 +2846,7 @@ signatures: [] urlparams: {} headers: {} -- name: /hosts/{host:id}/nics/{nic:id}/labels/|rel=add +- name: /hosts/{host:id}/nics/{nic:id}/labels|rel=add description: add a new label to the interface request: body: @@ -3148,7 +3148,7 @@ signatures: [] urlparams: {} headers: {} -- name: /networks/{network:id}/labels/|rel=add +- name: /networks/{network:id}/labels|rel=add description: add a new label to the network request: body: -- To view, visit http://gerrit.ovirt.org/27946 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I88781dad71e9dca372de6a84c5c2eb3c8d36c21f 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
