You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2019/09/14 01:57:00 UTC
[jira] [Resolved] (CXF-8115) OpenApiFeature dosn't allow the
versioning by media type
[ https://issues.apache.org/jira/browse/CXF-8115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andriy Redko resolved CXF-8115.
-------------------------------
Resolution: Information Provided
> 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
> Priority: Major
> Labels: openapi
> Attachments: image-2019-09-13-14-59-08-362.png, image-2019-09-13-15-02-00-815.png, spring_boot.zip
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)