Skip to content

OpenAPI: Require at least one level in CatalogObjectIdentifier#16587

Closed
stevenzwu wants to merge 2 commits into
apache:mainfrom
stevenzwu:spec-catalog-object-identifier-min-items
Closed

OpenAPI: Require at least one level in CatalogObjectIdentifier#16587
stevenzwu wants to merge 2 commits into
apache:mainfrom
stevenzwu:spec-catalog-object-identifier-min-items

Conversation

@stevenzwu
Copy link
Copy Markdown
Contributor

Summary

Add minItems: 1 to the CatalogObjectIdentifier schema so the spec matches the Java implementation (CatalogObjectIdentifier.of), which rejects an empty levels array.

Add minItems: 1 to the CatalogObjectIdentifier schema. The Java
implementation rejects an empty levels array; the spec should match
so that clients and other server implementations are required to
produce valid identifiers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
type: array
items:
type: string
minItems: 1
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

link @c-thiel 's comment in the Java impl PR: #16160 (comment)

@stevenzwu
Copy link
Copy Markdown
Contributor Author

close this PR per the feedback from this thread.

@stevenzwu stevenzwu closed this May 28, 2026
@stevenzwu stevenzwu deleted the spec-catalog-object-identifier-min-items branch May 28, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants