Package org.springdoc.webflux.ui
Class SwaggerUiHome
- java.lang.Object
-
- org.springdoc.webflux.ui.SwaggerUiHome
-
@Controller public class SwaggerUiHome extends Object
Home redirection to swagger api documentation- Author:
- bnasslahsen
-
-
Constructor Summary
Constructors Constructor Description SwaggerUiHome(Optional<org.springframework.boot.autoconfigure.web.reactive.WebFluxProperties> optionalWebFluxProperties)
Instantiates a new Swagger ui home.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Void>
index(org.springframework.http.server.reactive.ServerHttpResponse response)
Index mono.
-
-
-
Constructor Detail
-
SwaggerUiHome
public SwaggerUiHome(Optional<org.springframework.boot.autoconfigure.web.reactive.WebFluxProperties> optionalWebFluxProperties)
Instantiates a new Swagger ui home.- Parameters:
optionalWebFluxProperties
- the optional web flux properties
-
-
Method Detail
-
index
@GetMapping("/") public reactor.core.publisher.Mono<Void> index(org.springframework.http.server.reactive.ServerHttpResponse response)
Index mono.- Parameters:
response
- the response- Returns:
- the mono
-
-