Interface ISignalRFunctionConfigurationBuilder<TCommand>
Allows for additional HTTP function configuration including Open API and header bindings
Inherited Members
Namespace: FunctionMonkey.Abstractions.Builders
Assembly: FunctionMonkey.Abstractions.dll
Syntax
public interface ISignalRFunctionConfigurationBuilder<TCommand> : ISignalRFunctionBuilder, IFunctionOptions<ISignalRFunctionConfigurationBuilder<TCommand>, IHttpFunctionOptionsBuilder<TCommand>>
Type Parameters
| Name | Description |
|---|---|
| TCommand |
Methods
| Improve this Doc View SourceOpenApiDescription(String)
The Open API / Swagger description for the endpoint
Declaration
ISignalRFunctionConfigurationBuilder<TCommand> OpenApiDescription(string description)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | description | The description |
Returns
| Type | Description |
|---|---|
| ISignalRFunctionConfigurationBuilder<TCommand> | A IHttpFunctionConfigurationBuilder that allows further HTTP functions to be created and this function to be further configured with Open API / Swagger metadata. |
OpenApiResponse(Int32, String)
The Open API / Swagger description for the endpoint and specific response code
Declaration
ISignalRFunctionConfigurationBuilder<TCommand> OpenApiResponse(int httpStatusCode, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | httpStatusCode | The HTTP status code |
| System.String | description | The description |
Returns
| Type | Description |
|---|---|
| ISignalRFunctionConfigurationBuilder<TCommand> | A IHttpFunctionConfigurationBuilder that allows further HTTP functions to be created and this function to be further configured with Open API / Swagger metadata. |