jeudi 9 novembre 2017

Web.Api help information for IHttpActionResult and an object

I am using web.api and the help to display the interface for the end user.

The method I have is as follows:

public IHttpActionResult Initialize([FromBody]Initialize initalize)
    {   
       return Ok(Initialize(initalize));
    }

The Initialize returns back an InitializeOutput object.

I'd like to get the documentation to display the InitializeOutput in the help

Currently I am getting:

Response Information

Resource Description

IHttpActionResult

None.

Any ideas?




Aucun commentaire:

Enregistrer un commentaire