[ 
https://issues.apache.org/jira/browse/SCB-736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wujimin updated SCB-736:
------------------------
    Description: 
{code:java}
@GetMapping(path = "test")
public String test(int i,  boolean b) {
  return "" + i + b;
}
{code}
request without any query parameter should be ok

also should consider all primitive type.

> generate default value to swagger for primitive type, even there is no 
> defaultValue annotation
> ----------------------------------------------------------------------------------------------
>
>                 Key: SCB-736
>                 URL: https://issues.apache.org/jira/browse/SCB-736
>             Project: Apache ServiceComb
>          Issue Type: Task
>          Components: Java-Chassis
>            Reporter: wujimin
>            Assignee: sukesh
>            Priority: Major
>
> {code:java}
> @GetMapping(path = "test")
> public String test(int i,  boolean b) {
>   return "" + i + b;
> }
> {code}
> request without any query parameter should be ok
> also should consider all primitive type.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to