Flavor id is not a uuid, it's a int.

we use /v2.1/d1c5aa58af6c426492c642eb649017be/flavors/84
to access flavor while 84 represents flavor id, so it's not a uuid.

Change-Id: Id3624030a10af3c1ad5b213f4ce44d80f0d7e78e
Partial-Bug: #1515222
This commit is contained in:
jichenjc 2016-01-13 06:18:52 +08:00
parent 8df0559865
commit dca7d48261
2 changed files with 4 additions and 4 deletions

View File

@ -208,13 +208,13 @@
</wadl:doc>
</param>'>
<!ENTITY flavor_idTemplateParameter '
<param name="flavor_id" style="template" type="csapi:UUID"
<param name="flavor_id" style="template" type="xsd:int"
xmlns="http://wadl.dev.java.net/2009/02">
<wadl:doc xmlns="http://docbook.org/ns/docbook"
xml:lang="EN"
xmlns:wadl="http://wadl.dev.java.net/2009/02">
<para>
The UUID of the flavor.
The ID of the flavor.
</para>
</wadl:doc>
</param>'>

View File

@ -67,12 +67,12 @@
<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
<attribute type="csapi:UUID" name="id" use="required">
<attribute type="xsd:int" name="id" use="required">
<annotation>
<xsd:documentation xml:lang="EN"
xmlns="http://www.w3.org/1999/xhtml">
<p>
The UUID of the flavor.
The ID of the flavor.
</p>
</xsd:documentation>
</annotation>