© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•14mo ago•
3 replies
whatsinaname

Openapi to have XML documentation of the properties and endpoints.

anyone used openapi document? to get the xml documentation included in the openapi/v1.json ? I was using MartinCostello.OpenApi library. Please suggest to fix that. when i used below logic, it is giving me 500 internal server error.
services.AddOpenApiExtensions(options =>
{
options.AddServerUrls = true;
options.XmlDocumentationAssemblies.Add(Assembly.GetEntryAssembly() ?? Assembly.GetExecutingAssembly());
}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ XML documentation
C#CC# / help
3y ago
❔ API Documentation Generator Tool for XML comments?
C#CC# / help
3y ago
❔ XML Read XML and save as dictionary
C#CC# / help
3y ago