RED-6162 - swagger fix
This commit is contained in:
parent
1e6bd14b88
commit
5291820052
@ -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 {
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user