Interface IEndpoint
- Namespace
- TypedRest.CodeGeneration.Endpoints
- Assembly
- TypedRest.CodeGeneration.dll
Represents a TypedRest endpoint.
public interface IEndpoint : IOpenApiSerializable, IOpenApiElement, IOpenApiExtension
- Inherited Members
- Extension Methods
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(JsonObject, IEndpointParser)
Fills the endpoint with information parsed from a JSON object in an OpenAPI document.
void Parse(JsonObject data, IEndpointParser parser)
Parameters
dataJsonObjectThe JSON object to parse.
parserIEndpointParserThe endpoint parser to use for parsing child objects.
ResolveReferences(OpenApiDocument)
Resolves OpenApiSchemaReferences against the schema components of a document.
void ResolveReferences(OpenApiDocument document)
Parameters
documentOpenApiDocumentThe document that references can point to.