Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8115

OpenApiFeature dosn't allow the versioning by media type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 3.4.0
    • None
    • JAX-RS
    • Unknown

    Description

      With open api 3.0, one of the new features allow using media type for versioning our api. (Instead of using the path)

       

      When exposing operations with same HTTP verb and path, but different media type (Consume or produce), we expected the generated swagger to provide both in the description.

      Unfortunately, only one appear in the generated document which is a limitation of open api 2.0.

      At this point I don’t know if I should open a bug or a new feature task.

       

      I will provide an example base on the demo projet.

      Attachments

        1. image-2019-09-13-14-59-08-362.png
          23 kB
          Arnaud Roubinet
        2. image-2019-09-13-15-02-00-815.png
          25 kB
          Arnaud Roubinet
        3. spring_boot.zip
          47 kB
          Arnaud Roubinet

        Activity

          People

            Unassigned Unassigned
            Arnaud Roubinet Arnaud Roubinet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: