public string GetDeprecationMessage(string operationName)
{
try
{
var data = _documentRoot[DeprecatedOverridesKey];
var operations = data[OperationKey];
var operation = operations[operationName];
return (string)operation[DeprecationMessageKey];
}
catch (NullReferenceException) { }
throw new Exception(string.Format(@"deprecatedOverrides entry not set for deprecated operation {0}", operationName));
}