Do not fail if "requestMappingConditions" is not JSON object
This commit is contained in:
@@ -74,7 +74,7 @@ Example entry:
|
||||
|
||||
private JSONObject getRequestMappingConditions() {
|
||||
JSONObject details = getDetails();
|
||||
return details == null ? null : details.getJSONObject("requestMappingConditions");
|
||||
return details == null ? null : details.optJSONObject("requestMappingConditions");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user