Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Models Inheritance: System.ObjectSyntax
Summary
Helpers for composing CSDL and vocabulary documentation into MCP text.Methods
Add
Adds a documentation string to a payload only when it carries information.Syntax
Parameters
Exceptions
Remarks
Whitespace values never produce a key. This is how shapes avoid"description": null noise.
Add
Adds a documentation string to a string-valued payload only when it carries information.Syntax
Parameters
Exceptions
First
Returns the first non-whitespace documentation string.Syntax
Parameters
Returns
Type:string?
The first non-whitespace value, or null when none are documented.