Skip to content

Conversation

kevin1chun
Copy link
Contributor

@kevin1chun kevin1chun commented Jul 16, 2025

Use the oneOf(Schema(primitive), Schema(null)) pattern to mark nullable properties in order to comply with swagger-core in OAS 3.1.0
Otherwise, swagger-core was ignoring the types: null, primitive

@kevin1chun kevin1chun requested a review from david-leifker July 16, 2025 01:18
@github-actions github-actions bot added devops PR or Issue related to DataHub backend & deployment community-contribution PR or Issue raised by member(s) of DataHub Community labels Jul 16, 2025
@datahub-cyborg datahub-cyborg bot added the needs-review Label for PRs that need review from a maintainer. label Jul 16, 2025
@david-leifker david-leifker merged commit e7f45b1 into datahub-project:master Jul 16, 2025
27 of 29 checks passed
kartikey-visa pushed a commit to kartikey-visa/datahub that referenced this pull request Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution PR or Issue raised by member(s) of DataHub Community devops PR or Issue related to DataHub backend & deployment needs-review Label for PRs that need review from a maintainer.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants