Skip to content

bump deps!#282

Open
daveshanley wants to merge 3 commits into
mainfrom
updated-deps
Open

bump deps!#282
daveshanley wants to merge 3 commits into
mainfrom
updated-deps

Conversation

@daveshanley

Copy link
Copy Markdown
Member

No description provided.

@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.65%. Comparing base (14f2269) to head (7ba9351).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #282      +/-   ##
==========================================
+ Coverage   97.63%   97.65%   +0.01%     
==========================================
  Files          64       65       +1     
  Lines        6991     7133     +142     
==========================================
+ Hits         6826     6966     +140     
- Misses        132      134       +2     
  Partials       33       33              
Flag Coverage Δ
unittests 97.65% <100.00%> (+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.

Add schema_validation/directional_schema.go providing direction-aware schema rendering. readOnly properties are dropped from `required` when validating request bodies, and writeOnly properties are dropped when validating response bodies, so a schema shared between a request and response no longer fails required checks for properties that cannot be present in that direction.

Introduce SchemaValidationPurpose and SchemaCacheKey so request, response, and generic compilations of the same schema get distinct cache entries keyed by hash, version, and purpose. Wire request/response body validation and cache warming through RenderSchemaForValidation and the new cache keys, caching the rendered node alongside the compiled schema.

Pruning recurses through properties, composition (allOf/anyOf/oneOf), arrays, and conditional subschemas, and empty required lists are removed entirely. Adds tests covering nested, allOf, and shared request/response schemas.

#281
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