Empty model property description on ASP.NET Web API Help Pages -


introduction

i've followed this tutorial setup asp.net web api pages.

using <package id="microsoft.aspnet.webapi.helppage" version="5.2.3" targetframework="net452" />

the documentation seems fine, i'm getting empty model property descriptions.

they empty in both controller method/endpoint , model details doc.

controller method example

/// <summary> /// post: api/remitent /// </summary> /// <param name="remitent"></param> public void post([frombody]remitent remitent) {  } 

model property example

/// <summary> /// first name property summary /// </summary> [required] [maxlength(49)]      public string firstname { get; set; } 

results

i expect firstname property summary fill model property description on docs. instead description column empty: enter image description here


does know how solve that?

did uncomment line of code in areas/helppage/app_start/helppageconfig.cs:

config.setdocumentationprovider(new xmldocumentationprovider(     httpcontext.current.server.mappath("~/app_data/xmldocument.xml"))); 

Comments