i am building web api with Swashbuckle.AspNetCore on top. I i have implemented authorization and it works however i need to add custom header or request param to auth request. I do not see a way how to do this. Is there any?
current code is
c.AddSecurityDefinition("oauth2", new OAuth2Scheme
{
Type = "oauth2",
Flow = "password",
TokenUrl = $"{configuration.GetSection("Security").GetValue<string>("STSHost")}/connect/token"
});