tracker issue : CF-4203226

select a category, or use search below
(searches all categories and all time range)
Title:

First letter of property in Upper case when returned by REST services

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): / ()

Created: 08/03/2018

Components: REST Services

Versions: 2016,2018

Failure Type:

Found In Build/Fixed In Build: / CF2016U11,CF2018U4

Priority/Frequency: Normal /

Locale/System: /

Vote Count: 0

User has a rest service with an endpoint that return a component.


 Here is the model that is generated for the rest service (swagger). 

models":{

        "hdef.TestComponent":{            "id":"hdef.TestComponent",            "required":[            ],            "properties":{                "*id*":\{                    "type":"number",                    "format":"double"                },                "*label*":\{                    "type":"string"                },                "*shortlabel*":\{                    "type":"string"                }            }        },

 

The property keys have the correct case, but on the response, the first letters are in upper case:

{"*Id":1.*0,"*Shortlabel*":"CF","*Label*":"Coldfusion"} 

Expected:

The property key should have correct case (lower case).

Attachments:

Comments: