-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deepthi M|Updated to show details of error message only when a globa…
…l property is enabled,Fixed failing test cases and added new tests for the updated method. (#591) * Deepthi M|Updated to show details of error message only when a global property is enabled,Fixed failing test cases and added new tests for the updated method. * Deepthi M|Fixed global property * Deepthi M|removing white spaces * Deepthi M|Updated description of global property and also added a default value to global property as false when no value is given to it to avoid NPE * Deepthi M|RESTWS-921|Updated as per the review comments-Renamed variables,updated description in config.xml and added spaces after comma.
- Loading branch information
1 parent
f038fbb
commit 7ee4c56
Showing
4 changed files
with
48 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,6 +82,11 @@ | |
<defaultValue>true</defaultValue> | ||
<description>If the value of this setting is "true", then nothing is logged while the Swagger specification is being generated.</description> | ||
</globalProperty> | ||
<globalProperty> | ||
<property>@[email protected]</property> | ||
<defaultValue>true</defaultValue> | ||
<description>If the value of this setting is "true", then the details of the stackTrace would be shown in the error response. However, the recommendation is to keep it as "false", from the Security perspective, to avoid leaking implementation details.</description> | ||
</globalProperty> | ||
|
||
<!-- DWR --> | ||
|
||
|