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

Support @Api to specify produces and consumes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • java-chassis-1.1.0
    • Java-Chassis
    • None

    Description

      At present, ServiceComb only process the `tags` of io.swagger.annotations.Api. If user specify produces and consumes in `@Api`, nothing will happen.
      The support to these two fields should be added if necessary. The hierarchy relationship of `SwaggerDefinition`, `Api`, `ApiOperation` is that `Api` overrides `SwaggerDefinition`, `ApiOperation` overrides `Api`.

      Attachments

        Issue Links

          Activity

            People

              yaohaishi Haishi Yao
              yaohaishi Haishi Yao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: