YaoHaishi created SCB-1129: ------------------------------ Summary: @JsonProperty on enum value is ignored Key: SCB-1129 URL: https://issues.apache.org/jira/browse/SCB-1129 Project: Apache ServiceComb Issue Type: Bug Affects Versions: java-chassis-1.2.0 Reporter: YaoHaishi Assignee: YaoHaishi
Currently the schema generating mechanism will ignore the JsonProperty annotation on enum value. For the enum param like below, the value in generated schema is "AB", but "A-B" is expected. {code:java} public enum TestEnum { @JsonProperty(value = "A-B") AB } {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)