Description of problem: REST API return version in string instead of float. Version-Release number of selected component (if applicable): devenv_3396 rhc 1.10.5 How reproducible: always Steps to Reproduce: 1.curl -k -X POST -H 'Accept: application/json, version=1.5' --user "lxia:redhat" https://int.openshift.redhat.com/broker/rest/domains/lxia/applications -d name=intphp -d cartridge=php-5.3 |json_reformat 2. 3. Actual results: { "api_version": 1.5, "data": null, "errors": { }, "messages": [ { "exit_code": 100, "field": "name", "severity": "error", "text": "The supplied application name 'intphp' already exists" } ], "status": "unprocessable_entity", "supported_api_versions": [ 1.0, 1.1, 1.2, 1.3, 1.4, 1.5 ], "type": null, "version": "1.5" } Expected results: Shown "version": 1.5 instead of "version": "1.5". Additional info:
Working as designed. See https://bugzilla.redhat.com/show_bug.cgi?id=971204 api_version is a float version should continue to be a string