Table of Contents

Class ApiResponse<TResult>

Namespace
JsonApiDotNetCore.OpenApi.Client.NSwag
Assembly
JsonApiDotNetCore.OpenApi.Client.NSwag.dll

Replacement for the auto-generated SwaggerResponse<TResult> class from NSwag.

[PublicAPI]
public class ApiResponse<TResult> : ApiResponse

Type Parameters

TResult
Inheritance
ApiResponse<TResult>
Inherited Members

Constructors

ApiResponse(int, IReadOnlyDictionary<string, IEnumerable<string>>, TResult)

Replacement for the auto-generated SwaggerResponse<TResult> class from NSwag.

public ApiResponse(int statusCode, IReadOnlyDictionary<string, IEnumerable<string>> headers, TResult result)

Parameters

statusCode int
headers IReadOnlyDictionary<string, IEnumerable<string>>
result TResult

Properties

Result

public TResult Result { get; }

Property Value

TResult