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)

Reply via email to