Skip to content

feat(reference): add retrievalURI metadata for Arazzo Source Descriptions#79

Merged
char0n merged 3 commits intomainfrom
char0n/arazzo-source-desc-reterieval-uri
Feb 8, 2026
Merged

feat(reference): add retrievalURI metadata for Arazzo Source Descriptions#79
char0n merged 3 commits intomainfrom
char0n/arazzo-source-desc-reterieval-uri

Conversation

@char0n
Copy link
Member

@char0n char0n commented Feb 8, 2026

No description provided.

@char0n char0n requested a review from Copilot February 8, 2026 12:16
@char0n char0n self-assigned this Feb 8, 2026
@char0n char0n added the enhancement New feature or request label Feb 8, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds retrievalURI metadata to Arazzo “source-description” parse/dereference results so consumers can identify the normalized, resolved URI a source description was fetched/dereferenced from.

Changes:

  • Set meta.retrievalURI on source-description ParseResultElements in both parse and dereference flows.
  • Add/extend tests to assert retrievalURI is present for JSON/YAML parsing and dereferencing.
  • Update README and JSDoc to document/access the new retrievalURI metadata.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
packages/apidom-reference/src/parse/parsers/arazzo-json-1/source-descriptions.ts Sets retrievalURI meta on source-description parse results; updates JSDoc to mention it.
packages/apidom-reference/src/dereference/strategies/arazzo-1/source-descriptions.ts Sets retrievalURI meta on source-description dereference results; updates JSDoc to mention it.
packages/apidom-reference/test/parse/parsers/arazzo-json-1/index.ts Adds assertion that source-description parse result contains retrievalURI.
packages/apidom-reference/test/parse/parsers/arazzo-yaml-1/index.ts Adds assertion that YAML source-description parse result contains retrievalURI.
packages/apidom-reference/test/parse/parsers/arazzo-json-1/source-descriptions.ts Adds low-level API test asserting retrievalURI is set.
packages/apidom-reference/test/dereference/strategies/arazzo-1/source-descriptions/index.ts Adds dereference test asserting retrievalURI is set.
packages/apidom-reference/README.md Documents retrievalURI access in examples (currently missing toValue import in snippets).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@char0n char0n merged commit df78cb3 into main Feb 8, 2026
7 checks passed
@char0n char0n deleted the char0n/arazzo-source-desc-reterieval-uri branch February 8, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant