Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andriy-dmytruk committed Jun 29, 2023
1 parent 8cd4c83 commit 6231148
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -655,14 +655,10 @@ private void processWithResponseBodyMapping(CodegenOperation op) {
Iterator<CodegenProperty> iter = op.responseHeaders.iterator();
while (iter.hasNext()) {
CodegenProperty header = iter.next();
System.out.println("Checking header: " + header.baseName);
boolean headerWasMapped = false;
for (ResponseBodyMapping mapping : responseBodyMappings) {
System.out.println("Checking mapping: " + mapping.headerName());
if (mapping.doesMatch(header.baseName, op.isArray)) {
System.out.println("Mached mapping: " + mapping.headerName());
if (mapping.mappedBodyType() != null) {
System.out.println("Body type matched: " + mapping.headerName());
bodyMapping = mapping;
}
headerWasMapped = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ private static List<AbstractMicronautJavaCodegen.ResponseBodyMapping> parseRespo
}

private static List<Map<String, String>> parseListOfMaps(String string) {
System.out.println("json: " + string);

List<Map<String, String>> result = new ArrayList<>();
if (string.isBlank()) {
return result;
Expand Down

0 comments on commit 6231148

Please sign in to comment.