Forum Discussion

psychomonkey911's avatar
psychomonkey911
New Contributor
3 years ago

Swagger supports adding a Header parameter for 1 method

i have method with attribute [Authorize("AtLeast21")]   builder.Services.AddAuthorization(options => { options.AddPolicy("AtLeast21", policy => policy.Requirements.Add(new Minimum...