Skip to content

Commit bc91043

Browse files
committed
fix(swagger): remove lock icon for anonymous endpoints
1 parent 96e9391 commit bc91043

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

NorthwindCRUD/Filters/AuthResponseOperationFilter.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ public void Apply(OpenApiOperation operation, OperationFilterContext context)
2323
{
2424
Type = ReferenceType.SecurityScheme,
2525
Id = "Bearer"
26-
},
27-
Scheme = "oauth2",
28-
Name = "Bearer",
29-
In = ParameterLocation.Header,
26+
}
3027
},
3128
new List<string>()
3229
}

0 commit comments

Comments
 (0)