We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe50da3 commit cbb1407Copy full SHA for cbb1407
src/Microsoft.OpenApi/Extensions/OpenApiTypeMapper.cs
@@ -59,8 +59,7 @@ private static IEnumerable<string> ToIdentifiersInternal(this JsonSchemaType sch
59
/// <returns></returns>
60
internal static string ToFirstIdentifier(this JsonSchemaType schemaType)
61
{
62
- var identifier = schemaType.ToIdentifiers();
63
- return identifier[0];
+ return schemaType.ToIdentifiersInternal().First();
64
}
65
66
/// <summary>
0 commit comments