Table of Contents

Class XmlDocumentationGenerator

Namespace
Refitter.Core
Assembly
Refitter.Core.dll

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 OpenApiOperation

The OpenAPI definition of the interface.

code StringBuilder

The 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 CSharpOperationModel

The NSwag model of the method's OpenAPI definition.

hasApiResponse bool

Indicates whether the method returns an ApiResponse.

hasDynamicQuerystringParameter bool

Indicates whether the method get a dynamic querystring parameter

hasApizrRequestOptionsParameter bool

Indicates whether the method get an IApizrRequestOptions options final parameter

code StringBuilder

The builder to append the documentation to.