Class UploadPattern
- Namespace
- TypedRest.CodeGeneration.Patterns.Raw
- Assembly
- TypedRest.CodeGeneration.dll
A pattern that generates UploadEndpoints.
public class UploadPattern : PatternBase, IPattern
- Inheritance
-
objectUploadPattern
- Implements
- 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(OpenApiPathItem)
Builds the endpoint using information from the item. null if the pattern does not match.
protected override IEndpoint? BuildEndpoint(OpenApiPathItem item)
Parameters
itemOpenApiPathItem