Add xml:ids to resources

Add xml:ids to resources. This is a new requirement that has to do
with the generation of PDFs from WADL files – without this, the paths
are not unique across WADL files

Change-Id: Ie61992273e665ce46140a6741d522f1ac8572e7d
Related-Bug: #1275007
This commit is contained in:
Andreas Jaeger 2014-01-31 20:23:33 +01:00
parent e24f28b32e
commit 287a910977
2 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,8 @@
<grammars>
<include href="../xsd/metering.xsd"/>
</grammars>
<resources base="https://servers.api.openstack.com/">
<resources base="https://servers.api.openstack.com/"
xml:id="metering-labels-v2.0">
<resource id="version">
<resource id="metering_labels" path="metering-labels">
<method href="#listMeteringLabels"/>

View File

@ -22,7 +22,8 @@
<!--*******************************************************-->
<!-- All Resources -->
<!--*******************************************************-->
<resources base="https://neutron.example.com/">
<resources base="https://neutron.example.com/"
xml:id="os-networks-v2.0">
<resource id="version" type="#VersionDetails" path="v2/">
<resource id="tenantID" path="{tenant_id}">
<param name="tenant_id" style="template"