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. |
description | The description |
Returns
Type | Description |
---|---|
ISignal |
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. |
httpStatusCode | The HTTP status code |
System. |
description | The description |
Returns
Type | Description |
---|---|
ISignal |
A IHttpFunctionConfigurationBuilder that allows further HTTP functions to be created and this function to be further configured with Open API / Swagger metadata. |