Skip to content

feat: enhance McpResource annotation with title and annotations support#58

Merged
tzolov merged 1 commit intospring-ai-community:mainfrom
tzolov:update-resource-annotation
Sep 21, 2025
Merged

feat: enhance McpResource annotation with title and annotations support#58
tzolov merged 1 commit intospring-ai-community:mainfrom
tzolov:update-resource-annotation

Conversation

@tzolov
Copy link
Copy Markdown
Collaborator

@tzolov tzolov commented Sep 21, 2025

  • Add title field to McpResource annotation for display purposes
  • Add annotations support with audience, lastModified, and priority fields
  • Update ResourceAdapter to handle new title and conditional annotations
  • Rename parameter in ResourceAdapter for better clarity
  • Update related tests
  • Add nested McpAnnotations annotation with Role-based audience support

- Add title field to McpResource annotation for display purposes
- Add annotations support with audience, lastModified, and priority fields
- Update ResourceAdapter to handle new title and conditional annotations
- Rename parameter in ResourceAdapter for better clarity
- Update related tests
- Add nested McpAnnotations annotation with Role-based audience support

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov added this to the 0.5.0 milestone Sep 21, 2025
@tzolov tzolov merged commit 793fc00 into spring-ai-community:main Sep 21, 2025
1 check passed
tzolov added a commit that referenced this pull request Sep 22, 2025
…rt (#58)

- Add title field to McpResource annotation for display purposes
- Add annotations support with audience, lastModified, and priority fields
- Update ResourceAdapter to handle new title and conditional annotations
- Rename parameter in ResourceAdapter for better clarity
- Update related tests
- Add nested McpAnnotations annotation with Role-based audience support

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
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.

1 participant