1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 08:43:27 +00:00

fix spec link

This commit is contained in:
Kyle Spearrin
2019-03-08 15:48:34 -05:00
parent e51d435236
commit 61f473390f

View File

@@ -201,7 +201,8 @@ namespace Bit.Api
{ {
config.DocumentTitle = "Bitwarden API Documentation"; config.DocumentTitle = "Bitwarden API Documentation";
config.RoutePrefix = "docs"; config.RoutePrefix = "docs";
config.SwaggerEndpoint("/specs/public/swagger.json", "Bitwarden Public API"); config.SwaggerEndpoint($"{globalSettings.BaseServiceUri.Api}/specs/public/swagger.json",
"Bitwarden Public API");
config.OAuthClientId("accountType.id"); config.OAuthClientId("accountType.id");
config.OAuthClientSecret("secretKey"); config.OAuthClientSecret("secretKey");
}); });