Table of Contents

Namespace TypedRest.CodeGeneration.Generation

Classes

BuilderRegistry<TBuilder>

Maps each Kind to the builder emitting code for it, holding at most one builder per kind.

ClientGenerationOptions

Options controlling the generation of a TypedRest client, common to all target languages.

ClientGeneratorRegistry

A list of all known IClientGenerators, keyed by Language.

CollectingGenerationLog

An IGenerationLog that keeps all messages in memory.

GeneratedFileExtensions

Extension methods for IGeneratedFile.

GenerationMessage

A message reported by an IClientGenerator while generating a client.

NameRegistry<T>

Keeps track of the names handed out during a generation run, so that no two generated types end up with the same name.

NullGenerationLog

An IGenerationLog that discards all messages.

Words

Turns OpenAPI keys into identifiers, using conventions that are shared across target languages.

Interfaces

IClientGenerator

Generates the source code of a TypedRest client in a specific target language.

IGeneratedFile

A single source file produced by an IClientGenerator.

IGenerationLog

Collects GenerationMessages reported while generating a client.

Enums

GenerationSeverity

How important a GenerationMessage is.