Class XmlDocumentationGenerator
Generator class for creating XML documentation.
public class XmlDocumentationGenerator
- Inheritance
-
XmlDocumentationGenerator
- Inherited Members
Methods
AppendInterfaceDocumentation(OpenApiOperation, StringBuilder)
Appends XML docs for the given interface definition to the given code builder.
public void AppendInterfaceDocumentation(OpenApiOperation group, StringBuilder code)
Parameters
group
OpenApiOperationThe OpenAPI definition of the interface.
code
StringBuilderThe builder to append the documentation to.
AppendMethodDocumentation(CSharpOperationModel, bool, bool, bool, StringBuilder)
Appends XML docs for the given method to the given code builder.
public void AppendMethodDocumentation(CSharpOperationModel method, bool hasApiResponse, bool hasDynamicQuerystringParameter, bool hasApizrRequestOptionsParameter, StringBuilder code)
Parameters
method
CSharpOperationModelThe NSwag model of the method's OpenAPI definition.
hasApiResponse
boolIndicates whether the method returns an
ApiResponse
.hasDynamicQuerystringParameter
boolIndicates whether the method get a dynamic querystring parameter
hasApizrRequestOptionsParameter
boolIndicates whether the method get an IApizrRequestOptions options final parameter
code
StringBuilderThe builder to append the documentation to.