Skip to content

Commit

Permalink
Change security description on Open API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand committed Feb 13, 2022
1 parent dd25242 commit 21187b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AzureIoTHub.Portal/Server/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ public void ConfigureServices(IServiceCollection services)
Name = "Bearer",
BearerFormat = "JWT",
Scheme = "bearer",
Description = "\r\n Specify the authorization token got from your IDP as a header.\r\n Ex: ``Authorization: Bearer ****``",
Description =
@"
Specify the authorization token got from your IDP as a header.
> Ex: ``Authorization: Bearer * ***``",
In = ParameterLocation.Header,
Type = SecuritySchemeType.Http,
};
Expand Down

0 comments on commit 21187b1

Please sign in to comment.