context_key

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const KeyTransformers = internal.PkgID + "transformers"

KeyTransformers is a key for huma.Context that stores transformers that should be applied after the response is generated. It's filled with a slice of transformers stored in APIGen instance that was used for operation registration. It's for internal library usage, and you are not supposed to modify it.

Variables

This section is empty.

Functions

func GetTransformers

func GetTransformers(ctx huma.Context) []huma.Transformer

GetTransformers returns transformers stored in the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL