Release v1.3.0: Regenerate client from latest OpenAPI spec#6
Open
Release v1.3.0: Regenerate client from latest OpenAPI spec#6
Conversation
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>
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>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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>
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>
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>
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>
Hchanni
approved these changes
Apr 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
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.
Changes
New API Endpoints
New Features
detach_from_parent_incident,unmark_as_duplicate_incidentPageJsmopsOnCallRespondersTaskParams,CreateJsmopsAlertTaskParamsBreaking Changes
Fixes
tools/fix_nullable_enums.pypyproject.tomlsettings overwritten by generator (version, Python ≥3.9, httpx ≥0.20.0, dev deps)Known Issues
rules_item(fix pending in rootlyhq/rootly#14888)Rollback/Revert Plan
🤖 Generated with Claude Code