Skip to content

Implement response validation in http client binding#732

Merged
jfallows merged 26 commits into
aklivity:developfrom
attilakreiner:http-response-validation
Jan 18, 2024
Merged

Implement response validation in http client binding#732
jfallows merged 26 commits into
aklivity:developfrom
attilakreiner:http-response-validation

Conversation

@attilakreiner

@attilakreiner attilakreiner commented Jan 15, 2024

Copy link
Copy Markdown
Contributor

Description

This change implements:

  • the http response validation in the http client binding
  • the http response validation in the OpenApi http proxy generator

Fixes: #684

@attilakreiner attilakreiner changed the title WIP Http response validation Implement response validation in http client binding Jan 15, 2024
@attilakreiner attilakreiner force-pushed the http-response-validation branch from 9020fc9 to 79bbc35 Compare January 16, 2024 08:45
@attilakreiner attilakreiner force-pushed the http-response-validation branch from f148130 to 6c74bc2 Compare January 17, 2024 17:29
@attilakreiner attilakreiner marked this pull request as ready for review January 17, 2024 20:32
}
}
return result;
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method feels like it should be on OperationView instead of here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I managed to move both hasRepsonses methods out from here. It was necessary to create an OperationView and an OperationsView class (singular and plural). I think it makes sense, pls chk.

@attilakreiner attilakreiner force-pushed the http-response-validation branch from ee0faa2 to 78aca86 Compare January 18, 2024 17:39
@jfallows jfallows merged commit 13e8e50 into aklivity:develop Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support openapi http response validation

2 participants