Categorygithub.com/oapi-codegen/runtime
modulepackage
1.1.1
Repository: https://github.com/oapi-codegen/runtime.git
Documentation: pkg.go.dev

# README

oapi-codegen/runtime

⚠️ This README may be for the latest development version, which may contain unreleased changes. Please ensure you're looking at the README for the latest release version.

This provides any runtime-specific code that the generated code that oapi-codegen generates may need, and therefore is expected to be used with deepmap/oapi-codegen.

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
BindQueryParameter works much like BindStyledParameter, however it takes a query argument input array from the url package, since query arguments come through a different path than the styled arguments.
BindStringToObject takes a string, and attempts to assign it to the destination interface via whatever type conversion is necessary.
BindStyledParameter binds a parameter as described in the Path Parameters section here to a Go object: https://swagger.io/docs/specification/serialization/ It is a backward compatible function to clients generated with codegen up to version v1.5.5.
BindStyledParameterWithLocation binds a parameter as described in the Path Parameters section here to a Go object: https://swagger.io/docs/specification/serialization/ This is a compatibility function which is used by oapi-codegen v2.0.0 and earlier.
BindStyledParameterWithOptions binds a parameter as described in the Path Parameters section here to a Go object: https://swagger.io/docs/specification/serialization/.
JsonMerge merges two JSON representation into a single object.
JSONMerge merges two JSON representation into a single object.
No description provided by the author
No description provided by the author
StyleParam is used by older generated code, and must remain compatible with that code.
Given an input value, such as a primitive type, array or object, turn it into a parameter based on style/explode definition, performing whatever escaping is necessary based on parameter location.
No description provided by the author

# 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
No description provided by the author

# Structs

BindStyledParameterOptions defines optional arguments for BindStyledParameterWithOptions.
No description provided by the author

# Interfaces

Binder is the interface implemented by types that can be bound to a query string or a parameter string The input can be assumed to be a valid string.

# Type aliases

No description provided by the author