Undocumented "name" property in POST /services error response JSON
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Poppy |
Fix Released
|
High
|
Unassigned |
Bug Description
When the POST /v1.0/services API is called with an empty JSON object as the request body, the following error response is returned:
{
"message": "{\"errors\": [{\"message\": \"['name']-'name' is a required property\"}, {\"message\": \"['origins'
}
According to this response, "'name' is a required property". However this property is not currently documented at http://
Either the documentation needs to be updated to include this property OR the code needs to updated to exclude it from the error response.
Changed in poppy: | |
status: | New → Fix Committed |
Changed in poppy: | |
importance: | Undecided → High |
status: | Fix Committed → Fix Released |