Skip to content

Add OpenAPI 3.2.0 support (OAS32Validator)#256

Merged
p1c2u merged 2 commits intopython-openapi:masterfrom
philfreo:add-oas32-support
Feb 23, 2026
Merged

Add OpenAPI 3.2.0 support (OAS32Validator)#256
p1c2u merged 2 commits intopython-openapi:masterfrom
philfreo:add-oas32-support

Conversation

@philfreo
Copy link
Contributor

Summary

  • Adds OAS32Validator and oas32_format_checker for OpenAPI 3.2.0 schema validation
  • OAS 3.2 still uses JSON Schema Draft 2020-12 (same as 3.1), so the validator follows the same pattern as OAS31Validator
  • Includes tests mirroring the existing OAS 3.1 test suite

Closes #255

@philfreo philfreo force-pushed the add-oas32-support branch 3 times, most recently from acd269c to e75701b Compare February 23, 2026 18:27
@philfreo philfreo marked this pull request as ready for review February 23, 2026 18:29
@p1c2u p1c2u merged commit 038c02b into python-openapi:master Feb 23, 2026
12 of 13 checks passed
@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.50%. Comparing base (79a85d7) to head (d3740fb).
⚠️ Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #256      +/-   ##
==========================================
+ Coverage   81.91%   82.50%   +0.58%     
==========================================
  Files           6        6              
  Lines         271      280       +9     
  Branches       56       56              
==========================================
+ Hits          222      231       +9     
  Misses         31       31              
  Partials       18       18              

☔ View full report in Codecov by Sentry.
📢 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.

Add OpenAPI 3.2.0 support (OAS32Validator)

2 participants