Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApiDescription constructor has changed in Swagger Core 1.3.8 #431

Closed
rajatvig opened this issue Sep 2, 2014 · 0 comments · Fixed by #432
Closed

ApiDescription constructor has changed in Swagger Core 1.3.8 #431

rajatvig opened this issue Sep 2, 2014 · 0 comments · Fixed by #432

Comments

@rajatvig
Copy link
Contributor

rajatvig commented Sep 2, 2014

It now supports "hidden" parameter which sort of conflicts with @ApiIgnore provided here. The new constructor breaks the application.

swagger-api/swagger-core#633

failed ContextHandlerCollection@44a359b1: java.lang.NoSuchMethodError: com.wordnik.swagger.model.ApiDescription.<init>(Ljava/lang/String;Lscala/Option;Lscala/collection/immutable/List;)V
failed HandlerCollection@201df488: java.lang.NoSuchMethodError: com.wordnik.swagger.model.ApiDescription.<init>(Ljava/lang/String;Lscala/Option;Lscala/collection/immutable/List;)V
Error starting handlers
java.lang.NoSuchMethodError: com.wordnik.swagger.model.ApiDescription.<init>(Ljava/lang/String;Lscala/Option;Lscala/collection/immutable/List;)V
    at com.mangofactory.swagger.readers.ApiDescriptionReader.execute(ApiDescriptionReader.java:44)
    at com.mangofactory.swagger.readers.ApiDescriptionReader.execute(ApiDescriptionReader.java:18)
    at com.mangofactory.swagger.core.CommandExecutor.execute(CommandExecutor.java:13)
    at com.mangofactory.swagger.scanners.ApiListingScanner.scan(ApiListingScanner.java:96)
    at com.mangofactory.swagger.core.SwaggerApiResourceListing.initialize(SwaggerApiResourceListing.java:71)
    at com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin.initialize(SwaggerSpringMvcPlugin.java:361)
    at com.mangofactory.swagger.plugin.SwaggerPluginAdapter.onApplicationEvent(SwaggerPluginAdapter.java:51)
    at com.mangofactory.swagger.plugin.SwaggerPluginAdapter.onApplicationEvent(SwaggerPluginAdapter.java:21)
    at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
    at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
    at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:948)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
    at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602)
    at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665)
    at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521)
    at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462)
    at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant