From 913d9c0b8e005654d52857415bfaa0e8b12f7230 Mon Sep 17 00:00:00 2001 From: Serafeim Chatzopoulos Date: Fri, 28 Jun 2024 18:36:02 +0300 Subject: [PATCH] Make debugQuery false as default --- .../java/eu/openaire/api/dto/request/DataSourceRequest.java | 2 +- .../java/eu/openaire/api/dto/request/OrganizationRequest.java | 2 +- src/main/java/eu/openaire/api/dto/request/ProjectRequest.java | 2 +- .../eu/openaire/api/dto/request/ResearchProductsRequest.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/eu/openaire/api/dto/request/DataSourceRequest.java b/src/main/java/eu/openaire/api/dto/request/DataSourceRequest.java index 7e92774..1ec26a6 100644 --- a/src/main/java/eu/openaire/api/dto/request/DataSourceRequest.java +++ b/src/main/java/eu/openaire/api/dto/request/DataSourceRequest.java @@ -86,7 +86,7 @@ public class DataSourceRequest { @Parameter( description = "Retrieve debug information for the search query", - schema = @Schema(type = "boolean", defaultValue = "true") + schema = @Schema(type = "boolean", defaultValue = "false") ) private Boolean debugQuery = false; diff --git a/src/main/java/eu/openaire/api/dto/request/OrganizationRequest.java b/src/main/java/eu/openaire/api/dto/request/OrganizationRequest.java index 1664502..70f3f67 100644 --- a/src/main/java/eu/openaire/api/dto/request/OrganizationRequest.java +++ b/src/main/java/eu/openaire/api/dto/request/OrganizationRequest.java @@ -65,7 +65,7 @@ public class OrganizationRequest { @Parameter( description = "Retrieve debug information for the search query", - schema = @Schema(type = "boolean", defaultValue = "true") + schema = @Schema(type = "boolean", defaultValue = "false") ) private Boolean debugQuery = false; diff --git a/src/main/java/eu/openaire/api/dto/request/ProjectRequest.java b/src/main/java/eu/openaire/api/dto/request/ProjectRequest.java index 70df568..9f481e8 100644 --- a/src/main/java/eu/openaire/api/dto/request/ProjectRequest.java +++ b/src/main/java/eu/openaire/api/dto/request/ProjectRequest.java @@ -132,7 +132,7 @@ public class ProjectRequest { @Parameter( description = "Retrieve debug information for the search query", - schema = @Schema(type = "boolean", defaultValue = "true") + schema = @Schema(type = "boolean", defaultValue = "false") ) private Boolean debugQuery = false; diff --git a/src/main/java/eu/openaire/api/dto/request/ResearchProductsRequest.java b/src/main/java/eu/openaire/api/dto/request/ResearchProductsRequest.java index 631d550..97f55ef 100644 --- a/src/main/java/eu/openaire/api/dto/request/ResearchProductsRequest.java +++ b/src/main/java/eu/openaire/api/dto/request/ResearchProductsRequest.java @@ -288,7 +288,7 @@ public class ResearchProductsRequest { @Parameter( description = "Retrieve debug information for the search query", - schema = @Schema(type = "boolean", defaultValue = "true") + schema = @Schema(type = "boolean", defaultValue = "false") ) private Boolean debugQuery= false;