RED-6162 - swagger fix

This commit is contained in:
Timo Bejan 2023-03-13 17:16:03 +02:00
parent 1e6bd14b88
commit 5291820052
2 changed files with 7 additions and 7 deletions

View File

@ -22,13 +22,6 @@ public class SwaggerHomeController {
private String contextPath;
@PostConstruct
protected void pc() {
log.warn("SWAGGER HERE");
}
@GetMapping({"/redaction-gateway-v1", "/","redaction-gateway-v1/docs"})
public void home(HttpServletRequest request, HttpServletResponse response) throws IOException {

View File

@ -153,8 +153,15 @@ springdoc:
path: /redaction-gateway-v1/docs/swagger-ui
operations-sorter: alpha
tags-sorter: alpha
oauth:
client-id: swagger-ui-client
doc-expansion: none
enabled: ${swagger.enabled}
api-docs:
path: /redaction-gateway-v1/docs
enabled: ${swagger.enabled}
pre-loading-enabled: true
packages-to-scan: ['com.iqser.red.persistence.service.v1.external.api']
swagger:
enabled: true