I have a web api project in .net core 2.2,
I've integrated swagger UI to this project and as per my requirement I need to do some java script validations for Username and password,
So I configured java script in startup.cs as below:
`app.UseSwaggerUI(c =>
{
c.SwaggerEndpoint("/swagger/v1/swagger.json", "Mobile Insurance API");
c.InjectJavascript("basic-auth-swagger.js");
c.InjectJavascript("sha256.js");
c.InjectJavascript("Base64.js");
});
The problem I am facing here is, the below javascript files are loading before swagger UI is loaded due to this I am unable to find javascript and perform validations as per my requirement.
So is there any way to load javascript after swagger UI is loaded.
Thanks in advance !!!