We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5610739 commit 92b61d7Copy full SHA for 92b61d7
1 file changed
WebApi/Program.cs
@@ -51,7 +51,7 @@
51
52
app.UseSwaggerUI(opts =>
53
{
54
- opts.SwaggerEndpoint("/v1/swagger.json", "A Centralized Mirror API: v1");
+ opts.SwaggerEndpoint("/v1/swagger.json", $"A Centralized Mirror API: v1 (build {Assembly.GetExecutingAssembly().GetName().Version?.ToString(3) ?? "unknown"})");
55
opts.SupportedSubmitMethods(Array.Empty<SubmitMethod>()); // Disable the 'Try it out' button. All endpoints require API keys so it's useless anyway.
56
opts.RoutePrefix = "docs";
57
opts.DocumentTitle = "A Centralized Mirror API Documentation";
0 commit comments