cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akitoshi Yoshida (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CXF-6555) Upgrade swagger feature to use swagger 2.0 spec
Date Mon, 24 Aug 2015 20:13:46 GMT

     [ https://issues.apache.org/jira/browse/CXF-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akitoshi Yoshida closed CXF-6555.
---------------------------------
    Resolution: Invalid

For Swagger 2.0 spec, please use Swagger2Feature, which is available from CXF 3.0.6 and 3.1.2.

Samples are available at https://github.com/apache/cxf/tree/master/distribution/src/main/release/samples/jax_rs/description_swagger2


> Upgrade swagger feature to use swagger 2.0 spec
> -----------------------------------------------
>
>                 Key: CXF-6555
>                 URL: https://issues.apache.org/jira/browse/CXF-6555
>             Project: CXF
>          Issue Type: Wish
>            Reporter: David J. M. Karlsen
>
> http://swagger.io/
> new groupId is: http://repo1.maven.org/maven2/io/swagger/
> {noformat}
> Caused by: java.lang.NoClassDefFoundError: com/wordnik/swagger/jaxrs/listing/ApiListingResourceJSON
>         at org.apache.cxf.jaxrs.swagger.SwaggerFeature.initialize(SwaggerFeature.java:64)
>         at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.applyFeatures(JAXRSServerFactoryBean.java:252)
>         at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:196)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1706)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1645)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(Abstract
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message