Table of Contents

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

IDictionary<string, IEndpoint>

Description

A short description of the endpoint.

string? Description { get; set; }

Property Value

string

Kind

The kind/type of endpoint.

string Kind { get; }

Property Value

string

Uri

The relative URI of the endpoint.

string? Uri { get; set; }

Property Value

string

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

data JsonObject

The JSON object to parse.

parser IEndpointParser

The endpoint parser to use for parsing child objects.

ResolveReferences(OpenApiDocument)

Resolves OpenApiSchemaReferences against the schema components of a document.

void ResolveReferences(OpenApiDocument document)

Parameters

document OpenApiDocument

The document that references can point to.