Skip to content

Revert default date-time behaviour to respect OpenAPI/JSON Schema specifications #2442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mueslo
Copy link

@mueslo mueslo commented Jul 5, 2025

fixes #2441

@mueslo mueslo changed the title Revert default date-time behaviour to respect OpenAPI/JSON Schema definitions Revert default date-time behaviour to respect OpenAPI/JSON Schema specifications Jul 5, 2025
@mueslo mueslo marked this pull request as draft July 5, 2025 19:47
set openapi and jsonschema default target datetime to AwareDatetime to conform to specification
@mueslo mueslo marked this pull request as ready for review July 5, 2025 22:15
Copy link

codecov bot commented Jul 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.13%. Comparing base (75f4241) to head (cafe132).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2442      +/-   ##
==========================================
- Coverage   98.13%   98.13%   -0.01%     
==========================================
  Files          66       66              
  Lines        8273     8272       -1     
  Branches      828      827       -1     
==========================================
- Hits         8119     8118       -1     
  Misses        115      115              
  Partials       39       39              
Flag Coverage Δ
unittests 98.13% <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 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.

Copy link

codspeed-hq bot commented Jul 19, 2025

CodSpeed Performance Report

Merging #2442 will not alter performance

Comparing mueslo:patch-1 (cafe132) with main (75f4241)

Summary

✅ 32 untouched benchmarks

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.

Wrong converted type for "format: date-time" (missing time zone enforcement) in OpenAPI.
2 participants