Conversation
The shares.info endpoint validates its id parameter as either a UUID or a share slug (urlId), not a UUID alone. Relax the misleading format: uuid constraint and clarify the description to match the API contract. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YRFX22ngVHzgCBy5Pvy7BH
Member
Author
|
|
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.
Summary
Syncs the OpenAPI documentation with a change to Outline's API merged in the last day.
outline/outline#13766 ("fix: Validate share id on public share endpoints") applies
zodShareIdType()to theid/shareIdparameters of the public share endpoints.zodShareIdType()validates the value as either a UUID or a share slug (urlId), not a UUID alone.For the documented
shares.infoendpoint, the spec previously declaredidasformat: uuid, which is misleadingly narrow. This PR relaxes that constraint and clarifies the description to match the actual contract, following the same convention already used elsewhere in the spec for "UUID or urlId" identifiers.Changes
/shares.infoidrequest property: removedformat: uuid; description now reads "Unique identifier for the share. Either the UUID or the urlId (share slug) is acceptable."spec3.jsonregenerated from the YAML via the pre-commit hook.Other merged PRs reviewed (no doc changes needed)
The remaining PRs merged in the window touched the editor, performance, policies, plugins/webhooks, translations, or tests, none of which alter the documented public API input schema or output shape:
plugins/, no API schema)🤖 Generated with Claude Code
https://claude.ai/code/session_01YRFX22ngVHzgCBy5Pvy7BH
Generated by Claude Code