Class OpenApiDocumentDefinition

Assembly: redb.Route.Http.dll

Serves the OpenAPI 3.0.3 document of a : paths and operations from the
verbs, path parameters from the templates, request / response schemas from Type<T>() /
OutType<T>() (camelCase properties, shared types under components/schemas).
Built on first request from the declarations as they are at that moment.

public sealed class OpenApiDocumentDefinition : ProcessorDefinition, IProcessorDefinition

Inheritance

Object→ProcessorDefinition→OpenApiDocumentDefinition

Implements

Inherited Members

Methods

Build(RestDefinition)

Builds the document as a JSON tree (also used by tests and tooling).

public static JsonObject Build(RestDefinition rest)

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)