Open arxene opened 5 years ago
Hi You don't need to add script tag anywhere! You have to only manipulate SwaggerConfig.cs file. It will add a script tag to the Swagger page.
The problem is InjectJavascript no longer has the same method signature as when you wrote the usage guide.
Is there any same solution for .Net core 2.1 web api
I followed the steps but found that the InjectJavascript implementation seems it may have changed since you wrote the how-to for swashbuckle-authorize.
InspectJavascript implementation here: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/master/src/Swashbuckle.AspNetCore.SwaggerUI/SwaggerUIOptionsExtensions.cs