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

# Functions

LabelerFromContext retrieves the Labeler from the provided context, if present.
NewClient initializes new Client defined by OAS.
NewNilString returns new NilString with value set to v.
NewOptBool returns new OptBool with value set to v.
NewOptInt returns new OptInt with value set to v.
NewOptString returns new OptString with value set to v.
NewServer creates new Server.
WithClient specifies http client to use.
WithErrorHandler specifies error handler to use.
WithMaxMultipartMemory specifies limit of memory for storing file parts.
WithMeterProvider specifies a meter provider to use for creating a meter.
WithMethodNotAllowed specifies Method Not Allowed handler to use.
WithMiddleware specifies middlewares to use.
WithNotFound specifies Not Found handler to use.
WithPathPrefix specifies server path prefix.
WithServerURL sets context key to override server URL.
WithTracerProvider specifies a tracer provider to use for creating a tracer.

# Constants

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

Client implements OAS client.
Labeler is used to allow adding custom attributes to the server request metrics.
Ref: #/components/schemas/Location.
NilString is nullable string.
NullableStringsOK is response for NullableStrings operation.
ObjectsWithConflictingArrayPropertyOK is response for ObjectsWithConflictingArrayProperty operation.
Merged schema.
ObjectsWithConflictingPropertiesOK is response for ObjectsWithConflictingProperties operation.
Merged schema.
OptBool is optional bool.
OptInt is optional int.
OptString is optional string.
ReferencedAllofOK is response for ReferencedAllof operation.
ReferencedAllofOptionalOK is response for ReferencedAllofOptional operation.
No description provided by the author
Merged schema.
Merged schema.
Route is route object.
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
SimpleIntegerOK is response for SimpleInteger operation.
SimpleObjectsOK is response for SimpleObjects operation.
Merged schema.
StringsNotypeOK is response for StringsNotype operation.
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

# Interfaces

ClientOption is client config option.
Handler handles operations described by OpenAPI v3 specification.
Invoker invokes operations described by OpenAPI v3 specification.
Option is config option.
No description provided by the author
No description provided by the author
ServerOption is server config option.

# Type aliases

ErrorHandler is error handler.
Middleware is middleware type.
No description provided by the author
No description provided by the author