ValidateOptions Method
Definition
- Assemblies
- Codebelt.Extensions.Swashbuckle.AspNetCore.ModelContextProtocol.dll
ValidateOptions()
Determines whether the public read-write properties of this instance are in a valid state.
public void ValidateOptions()
Remarks
This method is expected to throw exceptions when one or more conditions fails to be in a valid state.
Exceptions
- InvalidOperationException
Version is null, empty, or consists only of white-space characters - or - Version is not one of the supported MCP revisions:
2026-07-28,2025-11-25,2025-06-18,2025-03-26, or2024-11-05.