openapi

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetDefaults

func SetDefaults(schema *openapi3.Schema, defaults map[string]interface{}) error

func Validate

func Validate(schema *openapi3.Schema, value map[string]interface{}) error

Types

type FormatValidatorFunc added in v1.0.0

type FormatValidatorFunc[T any] func(T) error

func (FormatValidatorFunc[T]) Validate added in v1.0.0

func (fn FormatValidatorFunc[T]) Validate(value T) error

Jump to

Keyboard shortcuts

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