static string GetExampleFromSchema(OpenApiMediaType content) { return(content.Schema != null?ContentParser.GetStringExampleFromContent(content.Schema.Example, new Dictionary <string, OpenApiExample>()) : null); }
static string GetRealExample(OpenApiMediaType content) { return(ContentParser.GetStringExampleFromContent(content.Example, content.Examples)); }