Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-736

generate default value to swagger for primitive type, even there is no defaultValue annotation

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-1.1.0
    • Java-Chassis
    • None

    Description

      @GetMapping(path = "test")
      public String test(int i,  boolean b) {
        return "" + i + b;
      }
      

      request without any query parameter should be ok

      must include all primitive types.

      Attachments

        Issue Links

          Activity

            People

              maheshrajus Mahesh Raju Somalaraju
              wujimin Jimin Wu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: