cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <>
Subject [jira] [Commented] (CXF-7316) Update swagger-jaxrs dependency to 1.5.13
Date Thu, 11 May 2017 12:32:04 GMT


Francesco Chicchiriccò commented on CXF-7316:

Hi [~sergey_beryozkin], thanks for notifying this issue.

At the moment I do have troubles with Syncope, if I move to CXF 3.1.12-SNAPSHOT and follow
your upgrade instructions above.
The issue is that {{swagger.json}} does not contain the {{paths}} field, e.g. no REST endpoints
are identified at all.
The reason is likely caused by the fact that Syncope does only use JAX-RS annotations, no
Swagger proprietary annotations at all.

By further investigating with the [Spring Boot demo|],
I have found so far that:

* with CXF 3.1.11, the {{paths}} field is populated even if I remove the Swagger's {{@Api}}
annotation in {{HelloServiceImpl1}} and {{HelloServiceImpl2}}, when changing, in {{SampleRestApplication}},
endpoint.setFeatures(Arrays.asList(new Swagger2Feature()));
Swagger2Feature feature = new Swagger2Feature();
* with CXF 3.1.12-SNAPSHOT, with the same modifications, the {{paths}} field is absent, as
it happens with Syncope

I am naturally not sure that the reason behind this problem lies in the changes from this
issue, as this is the first time I try with 3.1.12-SNAPSHOT; I'll keep investigating and let
you know.

> Update swagger-jaxrs dependency to 1.5.13
> -----------------------------------------
>                 Key: CXF-7316
>                 URL:
>             Project: CXF
>          Issue Type: Task
>    Affects Versions: 3.1.10
>            Reporter: Dennis Kieselhorst
>            Priority: Minor
>             Fix For: 3.2.0

This message was sent by Atlassian JIRA

View raw message