Class ResponseHeader
describes a swagger response header for a certain response dto
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
public sealed class ResponseHeader
Constructors
ResponseHeader(int, string)
Declaration
public ResponseHeader(int statusCode, string headerName)
Parameters
Type | Name | Description |
---|---|---|
int | statusCode | |
string | headerName |
Properties
Description
description for the header
Declaration
public string? Description { set; }
Property Value
Type | Description |
---|---|
string |
Example
an example header value
Declaration
public object? Example { set; }
Property Value
Type | Description |
---|---|
object |