Interface IEndpoint
- Namespace
- TypedRest.CodeGeneration.Endpoints
- Assembly
- TypedRest.CodeGeneration.dll
Represents a TypedRest endpoint.
public interface IEndpoint : IOpenApiSerializable, IOpenApiElement, IOpenApiExtension
- Inherited Members
Properties
Children
The child endpoints of this endpoint.
IDictionary<string, IEndpoint> Children { get; }
Property Value
Description
A short description of the endpoint.
string? Description { get; set; }
Property Value
Kind
The kind/type of endpoint.
string Kind { get; }
Property Value
Uri
The relative URI of the endpoint.
string? Uri { get; set; }
Property Value
Methods
Parse(OpenApiObject, IEndpointParser)
Fills the endpoint with information parsed from an OpenAPI Object.
void Parse(OpenApiObject data, IEndpointParser parser)
Parameters
dataOpenApiObjectThe OpenAPI Object to parse.
parserIEndpointParserThe endpoint parser to use for parsing child objects.
ResolveReferences(OpenApiComponents)
Resolves OpenApiReferences.
void ResolveReferences(OpenApiComponents components)
Parameters
componentsOpenApiComponentsThe components that references can point to.