Skip to content

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

Merged
daveshanley merged 3 commits into
mainfrom
kin-port
Jul 11, 2026
Merged

Add kin-openapi parity features: router, content validation#303
daveshanley merged 3 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

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (e8302f2) to head (b2322e4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #303      +/-   ##
==========================================
+ Coverage   97.97%   98.27%   +0.29%     
==========================================
  Files          67       75       +8     
  Lines        7670     9192    +1522     
==========================================
+ Hits         7515     9033    +1518     
- Misses        127      132       +5     
+ Partials       28       27       -1     
Flag Coverage Δ
unittests 98.27% <100.00%> (+0.29%) ⬆️

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.

@daveshanley daveshanley merged commit f309f59 into main Jul 11, 2026
4 checks passed
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