If I create a method as follows:
/// <summary>
/// Summary here
/// </summary>
/// <returns>THIS DOES NOT SHOW ANYWHERE</returns>
/// <remarks>Remarks here</remarks>
public async Task<string> MyMethod()
{
return "Hello World";
}
And I have Swashbuckle.AspNetCore installed and setup, then the documentation is generated correctly, except the value in the <returns> block does not get generated into anything in the json:
"/api/v1.0/Exhibits/TestMethod1": {
"get": {
"tags": [
"Blah"
],
"summary": "Summary here",
"description": "Remarks here",
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
},
"application/json": {
"schema": {
"type": "string"
}
},
"text/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
How can I persuade it to export this to a relevant field, or is this not possible?