Skip to content

Conversation

@arthanson
Copy link
Collaborator

@arthanson arthanson commented Apr 18, 2024

Fixes: #15588

As mentioned in the bug report, several fields are readonly but can also allow null return. I did a scan through the code and tried to identify all issues of this - checking that the model can actually return a null for those fields.

@arthanson arthanson marked this pull request as ready for review April 18, 2024 22:17
@arthanson arthanson requested a review from jeremystretch April 18, 2024 22:17
@arthanson arthanson changed the title DRAFT: 15588 set readonly nullable fields as allow_null=True 15588 set readonly nullable fields as allow_null=True Apr 19, 2024
@jeremystretch jeremystretch merged commit 94c3162 into develop Apr 19, 2024
@jeremystretch jeremystretch deleted the 15588-nullable-openapi branch April 19, 2024 20:17
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nullable fields not nullable in the OpenAPI spec

3 participants