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

Fix swagger file type error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • kie-0.2.0
    • Kie
    • None

    Description

      We should support the look up the go type string declare, to avoid the warning message from swagger editor.

      如图中,_id字段使用go自定义type id.ID导致生成时没有使用原type string,导致swagger editor告警

       

      期望这里生成的是string

      Attachments

        1. 20191115-170015(eSpace).png
          70 kB
          xiaoliang tian

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xiaoliang xiaoliang tian
              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 - 20m
                  20m