You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/01/30 13:53:00 UTC

[jira] [Work logged] (CXF-7957) Swagger2Feature Doesn't Work With Swagger Versions Above 1.5.17

     [ https://issues.apache.org/jira/browse/CXF-7957?focusedWorklogId=192284&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-192284 ]

ASF GitHub Bot logged work on CXF-7957:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Jan/19 13:52
            Start Date: 30/Jan/19 13:52
    Worklog Time Spent: 10m 
      Work Description: jwcarman commented on pull request #507: CXF-7957: Swagger2Feature Doesn't Work With Swagger Versions Above 1.…
URL: https://github.com/apache/cxf/pull/507
 
 
   This patch compensates for the Swagger library's change in behavior.  They are now using a Swagger object as the entity in their responses and relying upon the SwaggerSerializers (a MessageBodyWriter<Swagger>) to take care of the serialization (they were previously just converting to a JSON string and using that as the entity).  The JSON serialization causes there to be null values in the JSON, which was breaking our SwaggerParseUtils method (there's an included test case for it).  
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 192284)
            Time Spent: 10m
    Remaining Estimate: 0h

> Swagger2Feature Doesn't Work With Swagger Versions Above 1.5.17
> ---------------------------------------------------------------
>
>                 Key: CXF-7957
>                 URL: https://issues.apache.org/jira/browse/CXF-7957
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS, Services
>    Affects Versions: 3.3.0
>            Reporter: James Carman
>            Assignee: Andriy Redko
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> We were trying to bump up to the latest patch versions of all of our dependencies.  When we upgrade Swagger to the latest version, it caused the Swagger UI to break and we noticed this message in the logs:
> "Problem with writing the data, class io.swagger.models.Swagger, ContentType: application/json"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)