Actions
Bug #6991
openAPI v2 - support unwrapped POST/PUT parameters even though it's not documented
Status:
New
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
add wrap_parameters for each controller to wrap setter methods that are not db attribute_names
Updated by The Foreman Bot over 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1668 added
- Pull request deleted (
)
Updated by Dominic Cleal over 10 years ago
- Related to Bug #6696: API v2 - specify the key in which the parameters would be wrapped rather than passing model name added
Updated by Anonymous over 10 years ago
- Target version changed from 1.7.5 to 1.7.4
Updated by Anonymous over 10 years ago
- Target version changed from 1.7.4 to 1.7.3
Updated by Dominic Cleal about 10 years ago
- Target version changed from 1.7.3 to 1.7.2
Updated by Dominic Cleal about 10 years ago
- Has duplicate Bug #8017: *_ids attributes have to be wrapped in an extra hash added
Updated by Dominic Cleal almost 9 years ago
- Status changed from Ready For Testing to New
- Assignee deleted (
Joseph Magen) - Target version deleted (
1.7.2) - Pull request deleted (
https://github.com/theforeman/foreman/pull/1668)
PR was closed. The manual does document unwrapped parameters, while apipie prefers wrapped. Both should work as it's currently documented, so I'm leaving this open.
Updated by Dominic Cleal over 7 years ago
- Has duplicate Bug #19335: Adding media via the REST API does not correctly associate org/location added
Actions