Skip to content

Commit d12efaf

Browse files
committed
chore: pull changes in remote branch
2 parents ad46bdb + ccfeab1 commit d12efaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Models/OpenApiPathItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class OpenApiPathItem : IOpenApiExtensible, IOpenApiPathItem
4141
/// <param name="operation">The operation item.</param>
4242
public void AddOperation(HttpMethod operationType, OpenApiOperation operation)
4343
{
44-
Operations ??= new Dictionary<HttpMethod, OpenApiOperation>();
44+
Operations ??= [];
4545
Operations[operationType] = operation;
4646
}
4747

0 commit comments

Comments
 (0)