Closed DaleyKD closed 3 years ago
I'm going to double check ASAP, but it looks like https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases/tag/v6.0.2 might have fixed the issue. Will report back.
Confirmed. I am currently on version 6.0.3 and the error is now gone. You can close this if you want, or you may want to check your nuget deps.
Hi, @DaleyKD Yes, it was a problem with 6.0.1 version of Swashbuckle.AspNetCore.
Just updated to Swashbuckle 6.0.1, and it seems like something may have changed on their end? I'm now getting an exception when trying to generate the .json file:
I have to assume it's because of trying to access
.SchemaRepository.Schemas
? https://github.com/unchase/Unchase.Swashbuckle.AspNetCore.Extensions/blob/e11c200dc61f416792958edfb20d51ab1f53ae99/src/Unchase.Swashbuckle.AspNetCore.Extensions/Filters/XEnumNamesSchemaFilter.cs#L103This is how I have my Swagger configured: