Table of Contents

Class FunctionPattern

Namespace
TypedRest.CodeGeneration.Patterns.Rpc
Assembly
TypedRest.CodeGeneration.dll

A pattern that generates FunctionEndpoints.

public class FunctionPattern : RpcPatternBase, IPattern
Inheritance
object
FunctionPattern
Implements
Inherited Members

Methods

BuildEndpoint(OpenApiOperation)

Builds the endpoint using information from the operation. null if the pattern does not match.

protected override IEndpoint? BuildEndpoint(OpenApiOperation operation)

Parameters

operation OpenApiOperation

Returns

IEndpoint