Skip to content

Add kin-openapi parity features: router, content validation#303

Open
daveshanley wants to merge 2 commits into
mainfrom
kin-port
Open

Add kin-openapi parity features: router, content validation#303
daveshanley wants to merge 2 commits into
mainfrom
kin-port

Conversation

@daveshanley

Copy link
Copy Markdown
Member

Add kin-openapi parity features: router, content validation, and OpenAPI 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)
  • Validated 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 parameters, request,
    response, and schema validation paths.

…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

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.23664% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.98%. Comparing base (e8302f2) to head (eb0ee6e).

Files with missing lines Patch % Lines
responses/validate_response.go 45.83% 12 Missing and 1 partial ⚠️
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     
Flag Coverage Δ
unittests 97.98% <99.23%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant