Arnaud Roubinet created CXF-8115:
------------------------------------

             Summary: OpenApiFeature dosn't allow the versioning by media type
                 Key: CXF-8115
                 URL: https://issues.apache.org/jira/browse/CXF-8115
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 3.4.0
            Reporter: Arnaud Roubinet
         Attachments: spring_boot.zip

With open api 3.0, one of the new features is we use 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.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to