api-ref: fix list-resource-type-assocs example

In the metadefs section of the api-ref, the current example response
for the list-resource-type-associations call is incorrect.  Add a
correct example response.

Change-Id: I10e92ce96b40563b3c4d02ac5c542960564837ec
Closes-bug: #1751208
This commit is contained in:
Brian Rosmaita 2018-03-06 12:41:32 -05:00
parent c9f2772e4e
commit 0b49605630
2 changed files with 15 additions and 1 deletions

View File

@ -129,7 +129,7 @@ Response Parameters
Response Example
----------------
.. literalinclude:: samples/metadef-resource-types-list-response.json
.. literalinclude:: samples/metadef-resource-type-assoc-list-response.json
:language: json

View File

@ -0,0 +1,14 @@
{
"resource_type_associations": [
{
"created_at": "2018-03-05T18:20:44Z",
"name": "OS::Nova::Flavor",
"prefix": "hw:"
},
{
"created_at": "2018-03-05T18:20:44Z",
"name": "OS::Glance::Image",
"prefix": "hw_"
}
]
}