Spring-ReactiveWeb! Netty doesnt start after add Swagger 2 documentation
Swagger 3 will be soon released, and it includes support for netty.
By that time, you can use the snapshot version:
{
repositories {
maven {
url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/'
}
}
dependencies {
compile 'io.springfox:springfox-swagger2:3.0.0-SNAPSHOT'
compile 'io.springfox:springfox-swagger-ui:3.0.0-SNAPSHOT'
compile 'io.springfox:springfox-spring-webflux:3.0.0-SNAPSHOT'
}
}
and you enable it with @EnableSwagger2WebFlux
source: https://github.com/springfox/springfox/issues/1773
Unfortunetely swagger does not support spring webflux yet. Only solution here https://github.com/armdev/springboot2-swagger , but again you cant use full webflux API, you should go with unblocking tomcat.