org.appng.core.controller.rest.openapi

## Class SwaggerUI

- java.lang.Object
- - org.appng.core.controller.rest.openapi.SwaggerUI

-     @RestController
      public class SwaggerUI
      extends Object

  A controller serving Swagger-UI resources

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SwaggerUI()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.springframework.http.ResponseEntity<byte[]>` | `serveResource(String path)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SwaggerUI

          public SwaggerUI()

  - ### Method Detail

    - #### serveResource

          @GetMapping(path="/openapi/swagger-ui/{path:.+}")
          public org.springframework.http.ResponseEntity<byte[]> serveResource(@PathVariable
                                                                                                                                 String path)
                                                                                                                          throws IOException

      Throws:
        `IOException`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.