package
1.3.0
Repository: https://github.com/ogen-go/ogen.git
Documentation: pkg.go.dev

# Packages

Package genfs contains gen.FileSystem implementations.
Package ir contains definitions for the intermediate representation of OpenAPI objects and generated Go types.

# Functions

GenerateSchema generates type, validation and JSON encoding for given schema.
NewGenerator creates new Generator.
No description provided by the author

# Variables

AllFeatures contains all ogen features.
No description provided by the author
No description provided by the author
No description provided by the author
DefaultFeatures defines default ogen features.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BadVariant describes a sum type variant for what we unable to infer discriminator.
DefaultElem is variable helper for setting default values.
Elem is variable helper for recursive array or object encoding or decoding.
ErrBuildRouter reports that route tree building failed.
ErrFieldsDiscriminatorInference reports fields discriminator inference failure.
ErrGoFormat reports that generated code formatting failed.
ErrNotImplemented reports that feature is not implemented.
ErrParseSpec reports that specification parsing failed.
ErrUnsupportedContentTypes reports that ogen does not support such content-type(s).
Feature is an ogen feature.
FeatureOptions is features Options.
Filters contains filters to skip operations.
GenerateOptions sets generator options.
GenerateSchemaOptions is options structure for GenerateSchema.
Generator is OpenAPI-to-Go generator.
OperationElem is variable name for generating per-operation functions.
Options is Generator options.
ParseOptions sets parsing options.
No description provided by the author
Route describes route.
RouteNode is node of Radix tree of routes.
Router contains list of routes.
RouterElem is variable helper for router generation.
RouteTree is Radix tree of routes.
No description provided by the author
WebhookRoute is a webhook route.
WebhookRouter contains routing information for webhooks.
WebhookRoutes is a list of webhook methods.

# Interfaces

FileSystem represents a directory of generated package.

# Type aliases

ContentTypeAliases maps content type to concrete ogen encoding.
ConvenientErrors is an option type to control `Convenient Errors` feature.
FeatureSet is set of [Feature] names.
RemoteOptions is remote reference resolver options.
Routes is list of routes.