Undocumented "name" property in POST /services error response JSON

Bug #1386315 reported by Shaunak Kashyap
6
This bug affects 1 person
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']-'origins' is a required property\"}, {\"message\": \"['flavorRef']-'flavorRef' is a required property\"}, {\"message\": \"['domains']-'domains' is a required property\"}]}"
}

According to this response, "'name' is a required property". However this property is not currently documented at http://docs.cloudcdn.apiary.io/#post-%2Fservices.

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.