Skip to content
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

[OPAL-12292] Remove required clauses from nullable datets #6

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

andrewsy-opal
Copy link
Contributor

Due to Python 3.11 strict typing, required but nullable dates in Python now don't allow None, this leads to errors when objects have None responses in their expiration_date fields.

This updates the Openapi spec to remove datetimes from required if they are nullable.

@rishikesh-opal rishikesh-opal changed the title Remove required clauses from nullable datets [OPAL-12292] Remove required clauses from nullable datets Nov 26, 2024
@andrewsy-opal andrewsy-opal merged commit 484e23b into main Nov 26, 2024
11 checks passed
@andrewsy-opal andrewsy-opal deleted the andrewsy-vs-optionals branch November 26, 2024 17:53
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.

2 participants