Class ApiResourceController
- java.lang.Object
-
- springfox.documentation.swagger.web.ApiResourceController
-
@RestController @RequestMapping("${springfox.documentation.swagger-ui.base-url:}/swagger-resources") public class ApiResourceController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ApiResourceController(SwaggerResourcesProvider swaggerResources, java.lang.String swaggerUiBaseUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<SecurityConfiguration>
securityConfiguration()
org.springframework.http.ResponseEntity<java.util.List<SwaggerResource>>
swaggerResources()
org.springframework.http.ResponseEntity<UiConfiguration>
uiConfiguration()
-
-
-
Constructor Detail
-
ApiResourceController
@Autowired public ApiResourceController(SwaggerResourcesProvider swaggerResources, @Value("${springfox.documentation.swagger-ui.base-url:}") java.lang.String swaggerUiBaseUrl)
-
-
Method Detail
-
securityConfiguration
@GetMapping(value="/configuration/security", produces="application/json") public org.springframework.http.ResponseEntity<SecurityConfiguration> securityConfiguration()
-
uiConfiguration
@GetMapping(value="/configuration/ui", produces="application/json") public org.springframework.http.ResponseEntity<UiConfiguration> uiConfiguration()
-
swaggerResources
@GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<java.util.List<SwaggerResource>> swaggerResources()
-
-