Skip to content

Commit e3c1f36

Browse files
peombwabaywet
andauthored
Use static lambda.
Co-authored-by: Vincent Biret <[email protected]>
1 parent bab8a96 commit e3c1f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.Hidi/Formatters/PowerShellFormatter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private static string RemoveKeyTypeSegment(string operationId, IList<OpenApiPara
158158

159159
private static IList<OpenApiParameter> ResolveFunctionParameters(IList<OpenApiParameter> parameters)
160160
{
161-
foreach (var parameter in parameters.Where(p => p.Content?.Any() ?? false))
161+
foreach (var parameter in parameters.Where(static p => p.Content?.Any() ?? false))
162162
{
163163
// Replace content with a schema object of type array
164164
// for structured or collection-valued function parameters

0 commit comments

Comments
 (0)