[
https://issues.apache.org/jira/browse/CAMEL-9165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907897#comment-14907897
]
Claus Ibsen commented on CAMEL-9165:
------------------------------------
What version does work and not work, its a bit confusing what you tell.
And are you using the camel-swagger scala based module? Then api-docs is setup
using a servlet and you have to ensure you do that correctly.
>From Camel 2.16 onwards use the new camel-swagger-java module, the scala based
>is deprecated.
> Access to swagger api-docs gives 204
> ------------------------------------
>
> Key: CAMEL-9165
> URL: https://issues.apache.org/jira/browse/CAMEL-9165
> Project: Camel
> Issue Type: Bug
> Affects Versions: 2.15.4
> Reporter: Thomas Diesler
> Fix For: 2.15.4
>
>
> This works on in 2.15.2 and the latest 2.16.x
> https://github.com/wildfly-extras/wildfly-camel/blob/master/itests/standalone/basic/src/main/java/org/wildfly/camel/test/swagger/SwaggerIntegrationTest.java
> {code}
> java.lang.AssertionError: expected:<200> but was:<204>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at
> org.wildfly.camel.test.swagger.SwaggerIntegrationTest.testRestDsl(SwaggerIntegrationTest.java:77)
> {code}
> CrossRef: https://github.com/wildfly-extras/wildfly-camel/issues/884
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)