DocumentTitle is missing in SwaggerUIOptions
See original GitHub issueHi,
I’ve got Swashbuckle.AspNetCore 1.0.0 nuget package installed in my Asp.Net Core project. But when I try to add DocumentTitle() in UseSwaggerUI middleware it seems to be not there.
// Enable middleware to serve swagger-ui (HTML, JS, CSS etc.), specifying the Swagger JSON endpoint.
app.UseSwaggerUI(c =>
{
c.DocumentTitle("Custom API - Swagger UI");
});
However I noticed it’s there in github repository: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/98f64b09032c2949e669c319b5cf09ff0f4e2340/test/WebSites/CustomUIConfig/Startup.cs
Am I missing something?
Thanks in advance.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:12 (2 by maintainers)
Top Results From Across the Web
ASP.NET Core - Swashbuckle not creating swagger.json file
Hopefully this helps someone else. I was using a custom document title and was not changing the folder path in the SwaggerEndPoint to...
Read more >Swagger UI Configuration
Configuration. How to configure. Swagger UI accepts configuration parameters in four locations. From lowest to highest precedence: The swagger-config.yaml ...
Read more >Configuring and Using Swagger UI in ASP.NET Core Web ...
We are going to learn how to integrate the Swagger UI/OpenAPI in an ASP.NET Core Web API, extend the documentation, and customize UI....
Read more >Get started with Swashbuckle and ASP.NET Core
Navigate to the directory in which the .csproj file exists ... warning CS1591: Missing XML comment for publicly visible type or member ...
Read more >Swashbuckle.AspNetCore
Custom routes MUST include the {documentName} parameter. ... <response code="404">Product not found</response> /// <response code="500">Oops!
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Looks like it was merged in 98f64b09032c2949e669c319b5cf09ff0f4e2340 a little over a month ago, just not on nuget yet. Any ETA?
This is probably my #1 missing feature since I first encountered Swagger. Still waiting…