transformer

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformSchema

func TransformSchema(s *spec.Schema, transformers ...SchemaTransformer) *spec.Schema

Types

type AdditionalPropertiesTransformer

type AdditionalPropertiesTransformer struct {
	// contains filtered or unexported fields
}

func NewAdditionalPropertiesTransformer

func NewAdditionalPropertiesTransformer() *AdditionalPropertiesTransformer

func NewAdditionalPropertiesTransformerDisallowFull

func NewAdditionalPropertiesTransformerDisallowFull() *AdditionalPropertiesTransformer

func (*AdditionalPropertiesTransformer) Transform

Transform sets undefined AdditionalProperties to false recursively.

type SchemaTransformer

type SchemaTransformer interface {
	Transform(s *spec.Schema) *spec.Schema
}

Jump to

Keyboard shortcuts

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