You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An operation parameter.description never contains a default description even though one might be provided by ApiParameterDescription.Documenation might provide one. In most cases, the description will come from XML comments, but not necessarily always.
The description should use the default value provided as so in the SwaggerGenerator.cs:
parameter.description = paramDesc.Documentation;
Although not 100% required, it is probably worth updating ApplyXmlActionComments.cs so that the description is only updated when there is a parameter XML node with a non-empty value.
The text was updated successfully, but these errors were encountered:
An operation
parameter.description
never contains a default description even though one might be provided by ApiParameterDescription.Documenation might provide one. In most cases, the description will come from XML comments, but not necessarily always.The description should use the default value provided as so in the SwaggerGenerator.cs:
Although not 100% required, it is probably worth updating ApplyXmlActionComments.cs so that the description is only updated when there is a parameter XML node with a non-empty value.
The text was updated successfully, but these errors were encountered: