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

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Void>
    index(org.springframework.http.server.reactive.ServerHttpResponse response)
    Index mono.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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