Class EntryEndpoint
- Namespace
- TypedRest.CodeGeneration.Endpoints
- Assembly
- TypedRest.CodeGeneration.dll
Represent the top-level URI of an API.
public class EntryEndpoint : Endpoint, IEndpoint, IOpenApiSerializable, IOpenApiElement, IOpenApiExtension
- Inheritance
-
objectEntryEndpoint
- Implements
- Inherited Members
Properties
Kind
The kind/type of endpoint.
public override string Kind { get; }
Property Value
Methods
Parse(OpenApiObject, IEndpointParser)
Fills the endpoint with information parsed from an OpenAPI Object.
public override void Parse(OpenApiObject data, IEndpointParser parser)
Parameters
dataOpenApiObjectThe OpenAPI Object to parse.
parserIEndpointParserThe endpoint parser to use for parsing child objects.
Write(IOpenApiWriter, OpenApiSpecVersion)
Write out contents of custom extension
public override void Write(IOpenApiWriter writer, OpenApiSpecVersion specVersion)
Parameters
writerIOpenApiWriterspecVersionOpenApiSpecVersionVersion of the OpenAPI specification that that will be output.