You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (Jira)" <ji...@apache.org> on 2019/10/08 07:47:00 UTC
[jira] [Created] (SCB-1511) when use method override, the generated
swagger body is wrong
liubao created SCB-1511:
---------------------------
Summary: when use method override, the generated swagger body is wrong
Key: SCB-1511
URL: https://issues.apache.org/jira/browse/SCB-1511
Project: Apache ServiceComb
Issue Type: Bug
Components: Java-Chassis
Reporter: liubao
Assignee: liubao
For example:
```
public class Test {
@ApiOperation(value="helloWithValue", nickname="helloWithValue")
public String hello(String name, String value);
@ApiOperation(value="hello", nickname="hello")
public String hello(String name);
}
```
The generated swagger will have randomly helloBdoy like:
```
helloBody:
properties:
name: String
```
or
```
helloBody:
properties:
name: String
value: String
```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)