[Orchestration API v1 (CURRENT)] Missing "Normal response codes" and Response body when listing all available template versions.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Undecided
|
NGUYEN TUONG THANH |
Bug Description
When listing all available template versions using Orchestration API v1 (CURRENT), I followed:
http://
Issues:
1. The description only shows "Error response codes" and "Request parameters":
======= Currently ============
Error response codes 400, 401, 404, 500
Request parameters
.......
-------
When I do this action, it returned "Normal response codes" 200.
So, "Normal response codes" was missed. It should be added as below:
======= After fixing =========
Normal response codes 200
Error response codes 400, 401, 404, 500
Request parameters
.......
-------
2. The description of this operation shows that: "This operation does not accept a request body and does not return a response body. "
Actually, when I list template versions, this action already returned a response as the following:
======== Response body =======
{
"template_
[
{
"type": "hot"
},
{
"type": "hot"
},
{
"type": "cfn"
},
{
"type": "hot"
},
{
"type": "cfn"
},
{
"type": "hot"
},
{
"type": "hot"
}
]
}
-------
Moreover, when I list all template version using command line, it returned:
=======
$ heat template-
+------
| version | type |
+------
| AWSTemplateForm
| HeatTemplateFor
| heat_template_
| heat_template_
| heat_template_
| heat_template_
| heat_template_
+------
So, the description for this operation should be added the response body.
Changed in openstack-api-site: | |
assignee: | nobody → NGUYEN TUONG THANH (thanhnt-z) |
description: | updated |
Fix proposed to branch: master /review. openstack. org/276101
Review: https:/