Skip to content

Commit

Permalink
Remove resolveFully check in conditional logic for responses processing
Browse files Browse the repository at this point in the history
  • Loading branch information
micryc committed Oct 21, 2024
1 parent ac4efc2 commit d6bed18
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ public void processOperation(Operation operation) {
for (String responseCode : responses.keySet()) {
ApiResponse response = responses.get(responseCode);
if(response != null) {
//This part allows parser to put response inline within resolveResponses or ResolveFully
if (response.get$ref() != null && cache != null && cache.getParseOptions() != null && (cache.getParseOptions().isResolveResponses() || cache.getParseOptions().isResolveFully())) {
//This part allows parser to put response inline when resolveResponses = true
if (response.get$ref() != null && cache != null && cache.getParseOptions() != null && cache.getParseOptions().isResolveResponses()) {

responseProcessor.processResponse(response);

Expand Down

0 comments on commit d6bed18

Please sign in to comment.