Class RpcPatternBase
- Namespace
- TypedRest.CodeGeneration.Patterns.Rpc
- Assembly
- TypedRest.CodeGeneration.dll
Common base class for patterns that produce RPC endpoints.
public abstract class RpcPatternBase : PatternBase, IPattern
- Inheritance
-
objectRpcPatternBase
- Implements
- Derived
- Inherited Members
Properties
RequiredOperations
A list of OperationTypes the root of the path tree must support in order for this pattern to be applicable.
protected override OperationType[] RequiredOperations { get; }
Property Value
Methods
BuildEndpoint(OpenApiOperation)
Builds the endpoint using information from the operation. null if the pattern does not match.
protected abstract IEndpoint? BuildEndpoint(OpenApiOperation operation)
Parameters
operationOpenApiOperation
Returns
BuildEndpoint(OpenApiPathItem)
Builds the endpoint using information from the item. null if the pattern does not match.
protected override IEndpoint? BuildEndpoint(OpenApiPathItem item)
Parameters
itemOpenApiPathItem