You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v1.3.0: Regenerate client from latest OpenAPI spec (#6)
* Release v1.3.0: Regenerate client from latest OpenAPI spec
Why: The Python SDK was out of date with the latest Rootly API v1 spec,
missing new endpoints and models added since v1.2.1.
- Regenerate client from latest OpenAPI specification
- Apply nullable enum fix to 1,350 model files
- Add new endpoints: API Keys, SLAs, On-Calls, On-Call Pay Reports,
Meeting Recordings, Catalog Checklist Templates, Catalog Entity
Checklists, Catalog Properties
- Add new incident actions: detach_from_parent, unmark_as_duplicate
- Add new workflow task types: JSM Ops paging and alerts
- Add new role permission types (catalogs, communication, SLAs, etc.)
- BREAKING: Catalog Fields renamed to Catalog Properties
- Restore pyproject.toml settings overwritten by generator
- Update CHANGELOG.md
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix escalation path generation with OpenAPI spec patching
The real issue was not anyOf vs oneOf — openapi-python-client cannot
handle inline oneOf variants (objects with properties/required but no
$ref). Additionally, the upstream spec has urgency_ids arrays missing
items definitions.
Added tools/fix_openapi_escalation_paths.py that:
- Extracts inline rule variants into named component schemas
- Fixes arrays missing items definitions
- Replaces inline definitions with $ref pointers
Escalation path endpoints now fully generate with typed rule models:
alert_urgency, working_hour, json_path, field, service, deferral_window.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix ruff formatting on fix_openapi_escalation_paths.py
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Regenerate client after upstream urgency_ids array items fix
Upstream spec now includes items: {type: "string"} on urgency_ids
arrays. Regenerated output is identical since fix_openapi_escalation_paths.py
already patched this, but swagger.json no longer needs to be committed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Remove array items patching from escalation paths fix script
Upstream spec now correctly defines items on all array properties.
Only the inline oneOf → $ref extraction is still needed (client bug).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Bump minimum Python version to 3.10
Generated code uses PEP 604 union syntax (str | None) via ruff UP rules.
No from __future__ import annotations in generated files, so 3.9 would
fail at runtime. CI test matrix already starts at 3.10.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Regenerate client with latest OpenAPI spec updates
New fields from upstream spec changes:
- filter[notification_types] on /v1/oncalls endpoint
- calling_tree_enabled on live call router
- time_zone, csv_file_url, xlsx_file_url on on-call pay reports
- links.last now nullable
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments