fix: add null ignoring
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m14s
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 1m14s
This commit is contained in:
parent
c5c4a2a8da
commit
92504295f0
@ -102,7 +102,7 @@ public class Program
|
||||
{
|
||||
var provider = app.Services.GetService<IApiVersionDescriptionProvider>();
|
||||
|
||||
foreach (var description in provider.ApiVersionDescriptions)
|
||||
foreach (var description in provider!.ApiVersionDescriptions)
|
||||
{
|
||||
var url = $"/swagger/{description.GroupName}/swagger.json";
|
||||
var name = description.GroupName.ToUpperInvariant();
|
||||
|
Loading…
Reference in New Issue
Block a user