C#C
C#13mo ago
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());
}
Was this page helpful?