Skip to content

Commit b66ae01

Browse files
committed
chore: linting
Signed-off-by: Vincent Biret <[email protected]>
1 parent ea18d4d commit b66ae01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiExampleGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private static OpenApiExample CreateStructuredTypeExample(IEdmStructuredType str
8282
IEdmEntityType entityType = structuredType as IEdmEntityType;
8383

8484
// properties
85-
foreach (var property in structuredType.DeclaredProperties.OrderBy(p => p.Name))
85+
foreach (var property in structuredType.DeclaredProperties.OrderBy(static p => p.Name, StringComparer.Ordinal))
8686
{
8787
// IOpenApiAny item;
8888
IEdmTypeReference propertyType = property.Type;

0 commit comments

Comments
 (0)