REST API didn't verify json data format
Bug #1379973 reported by
Yang Ye
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Christopher Yeoh |
Bug Description
When try to create a server with REST API, I set attribute block_device_
In nova CLI, when params are wrong you will get a notice, but in REST you get nothing.
If openstack use json schema to describe every REST API and verify json requested , users can easily know how to use these API and which attribute was wrong.
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-1 → 2015.1.0 |
To post a comment you must log in.
Confirmed this is an issue. json schema is being introduced as part of v2.1 but we can still patch v2