Uploaded image for project: 'Fuse/AMQ Documentation'
  1. Fuse/AMQ Documentation
  2. FUSEDOC-4240

wrong package name is used at "CHAPTER 54. EXTENDING JAX-RS ENDPOINTS WITH OPENAPI SUPPORT"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.8
    • fuse-7.7
    • CXF
    • integration-doc-2020-12-07
    • Undefined

      In the following document, a wrong package name is used.
      By modifying to "io.swagger.annotations.*" from "io.openapi.annotations.*", mvn clean install works as expected.

      https://access.redhat.com/documentation/en-us/red_hat_fuse/7.7/html/apache_cxf_development_guide/openapiextended

      CHAPTER 54. EXTENDING JAX-RS ENDPOINTS WITH OPENAPI SUPPORT

      54.2.2. Enabling OpenAPI

      import io.openapi.annotations.*
      

      Example 55.5 Example Resource class

      import io.openapi.annotations.Api;
      import io.openapi.annotations.ApiOperation;
      import io.openapi.annotations.ApiParam;
      import io.openapi.annotations.ApiResponse;
      import io.openapi.annotations.ApiResponses;
      

              gforde@redhat.com Gerry Forde
              rhn-support-hfuruich Hisao Furuichi
              Francesco Mongiardo Francesco Mongiardo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: