fix: remove extraneous source.description schema property; clarify entity.description covers MCP#3552
Draft
Copilot wants to merge 2 commits into
Draft
fix: remove extraneous source.description schema property; clarify entity.description covers MCP#3552Copilot wants to merge 2 commits into
source.description schema property; clarify entity.description covers MCP#3552Copilot wants to merge 2 commits into
Conversation
…cription to mention MCP Agent-Logs-Url: https://github.com/Azure/data-api-builder/sessions/2aa78b8c-2875-4f50-a041-233f820d3d83 Co-authored-by: Aniruddh25 <3513779+Aniruddh25@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix extraneous source.description property in JSON schema
fix: remove extraneous May 13, 2026
source.description schema property; clarify entity.description covers MCP
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.
Why make this change?
entities.*.source.descriptionexisted in the JSON schema with documentation claiming it drove MCP tool discovery — but it was never wired to any C# model (EntitySourcehas noDescriptionfield) and was silently ignored at runtime. Meanwhile,entities.*.description— the field that actually surfaces in MCP — made no mention of MCP. Users following the schema would configure the wrong field and get no MCP output with no error.What is this change?
entities.*.source.descriptionfromschemas/dab.draft.schema.json. The property never had a backing field inEntitySourceand was dead schema surface area.entities.*.descriptionto explicitly mention MCP:The correct config pattern for MCP-visible descriptions is:
How was this tested?
Schema-only change; no runtime behavior altered. The removed property had no backing model field and was never deserialized.
Sample Request(s)
N/A — schema documentation fix only.