Commits
Click on a commit to change the comparison rangekeep DeploymentCreate.parameter_openapi_schema Optional for Cloud compat
changed DeploymentCreate.parameter_openapi_schema back to Optional to
maintain compatibility with Prefect Cloud, which may send null values.
the BeforeValidator still normalizes {} to valid schema, and the client
code converts None to {} before passing to the schema, so normalization
still works correctly.
behavior:
- None input: stays None (Cloud compat)
- {} input: normalized to {"type": "object", "properties": {}}
- omitted: gets default {"type": "object", "properties": {}}
- client code: converts None to {} so users get valid schema
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>