mirror of
https://github.com/bitwarden/server.git
synced 2025-01-23 22:01:28 +01:00
[PM-16689] Fix swagger build (#5214)
This commit is contained in:
parent
c14b192e0c
commit
3a8d10234b
@ -34,6 +34,9 @@ public static class ServiceCollectionExtensions
|
||||
Url = new Uri("https://github.com/bitwarden/server/blob/master/LICENSE.txt")
|
||||
}
|
||||
});
|
||||
|
||||
config.CustomSchemaIds(type => type.FullName);
|
||||
|
||||
config.SwaggerDoc("internal", new OpenApiInfo { Title = "Bitwarden Internal API", Version = "latest" });
|
||||
|
||||
config.AddSecurityDefinition("oauth2-client-credentials", new OpenApiSecurityScheme
|
||||
|
Loading…
Reference in New Issue
Block a user