Skip to content

feat(generated)!: regenerate from spec (3 changes)#96

Open
workos-sdk-automation[bot] wants to merge 1 commit into
mainfrom
oagen/spec-update-eb5bcc44eddeb6ad299608224cfcfcaa74db966e
Open

feat(generated)!: regenerate from spec (3 changes)#96
workos-sdk-automation[bot] wants to merge 1 commit into
mainfrom
oagen/spec-update-eb5bcc44eddeb6ad299608224cfcfcaa74db966e

Conversation

@workos-sdk-automation
Copy link
Copy Markdown
Contributor

Summary

feat(authorization)!: Remove search parameter from listResources

  • Removed search parameter from listResources operation (breaking change)
  • This parameter is no longer supported for filtering resources by name

feat(authorization): Add resource filters to role assignment queries

  • Added resource_id, resource_external_id, and resource_type_slug parameters to listRoleAssignments for filtering assignments by resource
  • Added role_slug parameter to listRoleAssignmentsForResourceByExternalId for filtering assignments by role
  • Added role_slug parameter to listRoleAssignmentsForResource for filtering assignments by role

fix(groups): Update error handling in addMember

  • Modified error handling behavior in addMember operation
  • Error cases are now properly documented and handled

Triggered by workos/openapi-spec@eb5bcc4

BEGIN_COMMIT_OVERRIDE
feat(authorization)!: Remove search parameter from listResources
feat(authorization): Add resource filters to role assignment queries
fix(groups): Update error handling in addMember
END_COMMIT_OVERRIDE

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented May 18, 2026

Greptile Summary

This is an automated regeneration from the OpenAPI spec, introducing new optional filter parameters and removing a deprecated one. No logic changes are present — all edits are additive field additions or deletions to serializable query-param structs.

  • src/resources/authorization.rs: Adds resource_id, resource_external_id, and resource_type_slug to ListRoleAssignmentsParams; adds role_slug to ListRoleAssignmentsForResourceByExternalIdParams and ListRoleAssignmentsForResourceParams; removes the search field (breaking) from ListResourcesParams. All new fields use Option<String> with skip_serializing_if and Default::default(), matching the existing pattern.
  • src/resources/sso.rs: Doc-comment update only — extends the supported-connections list for login_hint to include custom SAML connections.

Confidence Score: 5/5

Safe to merge — all changes are additive optional fields or a single field removal, generated directly from the OpenAPI spec.

Every new field is optional, properly annotated with skip_serializing_if, and initialized via Default::default(). The removed search field has no remaining callers in the codebase. The sso.rs change is doc-comment only. No logic paths, error handling, or auth flows are touched.

No files require special attention. Callers of listResources that set search will get a compile error (the intended breaking-change signal), but no such callers exist in this repository.

Important Files Changed

Filename Overview
src/resources/authorization.rs Adds resource filter fields to ListRoleAssignmentsParams and role_slug to two other params structs; removes the search field from ListResourcesParams. All new fields follow existing optional-field conventions correctly.
src/resources/sso.rs Doc-comment only change: extends the supported connections list for login_hint to include custom SAML connections.
.oagen-manifest.json Bumps generatedAt timestamp to reflect this regeneration run.
.last-synced-sha New file tracking the upstream OpenAPI spec SHA that was used for this generation.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[listRoleAssignments] -->|new params| B["resource_id\nresource_external_id\nresource_type_slug"]
    C[listRoleAssignmentsForResourceByExternalId] -->|new param| D["role_slug"]
    E[listRoleAssignmentsForResource] -->|new param| F["role_slug"]
    G[listResources] -->|removed param| H["search ❌ (breaking)"]
Loading

Reviews (1): Last reviewed commit: "feat(generated)!: regenerate from spec (..." | Re-trigger Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

0 participants