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

If Multiple java bean param types are given the same name by using @ApiModel, there should be error tips in microservice's booting log

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • java-chassis-1.2.1
    • java-chassis-1.3.0
    • Java-Chassis
    • None

    Description

      Currently, if different java bean param types are given the same param type name by @ApiModel annotation, there is no error thrown and the microservice instance can boot up and process requests, which may cause confusing runtime error.
      The microservice schema generating mechanism should check the duplicated param types and warn the users of them.

      Attachments

        Issue Links

          Activity

            People

              GuoYL YongLiang Guo
              GuoYL YongLiang Guo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h