feat: make catalog model fields nullable in OpenAPI spec
Description
Add nullable: true to catalog model fields and make them required.
This allows the API output for a model to more closely match the catalog file.
How Has This Been Tested?
Unit and E2E tests
Merge criteria:
- All the commits have been signed-off (To pass the
DCOcheck)
- [x] The commits have meaningful messages
- [x] Automated tests are provided as part of the PR for major new functionalities; testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
- [x] The developer has manually tested the changes and verified that the changes work.
- [x] Code changes follow the kubeflow contribution guidelines.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from pboyd. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
I'm closing this because the fix is worse than the problem it's trying to solve.