Skip to content

fix: skills metadata endpoint doesn't return description #1966 - #1970

Merged
astsiapanay merged 2 commits into
developmentfrom
fix/issue-1966
Sep 14, 2026
Merged

astsiapanay merged 2 commits into
developmentfrom
fix/issue-1966

Conversation

@astsiapanay

Copy link
Copy Markdown
Collaborator

Fixes the skills metadata endpoint dropping a skill's description (and other manifest-derived attributes) from its response.

Applicable issues

Description of changes

  • Added ComplexResourceItemMetadata, a subclass of ResourceItemMetadata with an attributes map field carrying the skill's manifest-derived metadata (name/description/version).
  • ComplexResourceService.itemMetadata() and nodeMetadata() now populate attributes from the resource's marker instead of silently dropping it.
  • Updated /v2/metadata/skills/{bucket}/{path}'s OpenAPI response schema to reference ComplexResourceItemMetadata and regenerated docs/open_api_core.yaml accordingly.
  • Extended SkillResourceApiTest to assert attributes.description is present both for a skill's own metadata and for a listed child.

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Point the /v2/metadata/skills/{bucket}/{path} response schema at
ComplexResourceItemMetadata instead of the generic ResourceItemMetadata
so the generated spec reflects the new "attributes" field.
@ai-dial-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@astsiapanay
astsiapanay merged commit b5a6e18 into development Sep 14, 2026
10 checks passed
@astsiapanay
astsiapanay deleted the fix/issue-1966 branch September 14, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Endpoint skills metadata doesn't return description

3 participants