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 2018/08/23 09:20:00 UTC

[jira] [Resolved] (SCB-736) generate default value to swagger for primitive type, even there is no defaultValue annotation

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

liubao resolved SCB-736.
------------------------
       Resolution: Fixed
    Fix Version/s: java-chassis-1.1.0

> 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: Mahesh Raju Somalaraju
>            Priority: Major
>             Fix For: java-chassis-1.1.0
>
>
> {code:java}
> @GetMapping(path = "test")
> public String test(int i,  boolean b) {
>   return "" + i + b;
> }
> {code}
> request without any query parameter should be ok
> must include all primitive types.



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