Add kin-openapi parity features: router, content validation#303
Open
daveshanley wants to merge 2 commits into
Open
Add kin-openapi parity features: router, content validation#303daveshanley wants to merge 2 commits into
daveshanley wants to merge 2 commits into
Conversation
…API 3.2 support Port key kin-openapi capabilities into libopenapi-validator: - New router package with route resolution and server matching - New content package for content-type negotiation and body decoding - Content-based parameter validation (parameters/content_parameter.go) - Internal bodycodec and requeststate packages for body/route caching - Request defaults application (request_defaults.go) - OpenAPI 3.2 document validation support with new test specs - Kin parity test suites across paths, requests, responses, and root - Extended config options and updates across parameter, request, response, and schema validation paths
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #303 +/- ##
=========================================
Coverage 97.97% 97.98%
=========================================
Files 67 75 +8
Lines 7670 9192 +1522
=========================================
+ Hits 7515 9007 +1492
- Misses 127 156 +29
- Partials 28 29 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add kin-openapi parity features: router, content validation, and OpenAPI 3.2 support
Port key kin-openapi capabilities into libopenapi-validator:
response, and schema validation paths.