Skip to content

Commit eac3d79

Browse files
Remove unused parameter
Remove unused `Base64StringAttribute` value.
1 parent cdebc52 commit eac3d79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGenerator/OpenApiSchemaExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ private static void ApplyValidationAttributes(OpenApiSchema schema, IEnumerable<
5858
{
5959
ApplyLengthAttribute(schema, lengthAttribute);
6060
}
61-
else if (attribute is Base64StringAttribute base64Attribute)
61+
else if (attribute is Base64StringAttribute)
6262
{
6363
ApplyBase64Attribute(schema);
6464
}

0 commit comments

Comments
 (0)