|
|
|
@ -33,7 +33,7 @@ public class GlobalResponseBodyAdvice implements ResponseBodyAdvice<Object> {
|
|
|
|
|
ServerHttpRequest request, ServerHttpResponse response) {
|
|
|
|
|
String path = request.getURI().getPath();
|
|
|
|
|
// 跟swagger冲突,跳出response包装
|
|
|
|
|
if (path.contains("swagger") || path.contains("api-docs")) {
|
|
|
|
|
if (path.contains("swagger") || path.contains("api-docs") || path.contains("/monitor/url-mappings")) {
|
|
|
|
|
return body;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|