package fmts

import "github.com/go-openapi/loads/fmts"

Index

Variables

var (
	// YAMLMatcher matches yaml
	YAMLMatcher = swag.YAMLMatcher
	// YAMLToJSON converts YAML unmarshaled data into json compatible data
	YAMLToJSON = swag.YAMLToJSON
	// BytesToYAMLDoc converts raw bytes to a map[string]interface{}
	BytesToYAMLDoc = swag.BytesToYAMLDoc
	// YAMLDoc loads a yaml document from either http or a file and converts it to json
	YAMLDoc = swag.YAMLDoc
	// YAMLData loads a yaml document from either http or a file
	YAMLData = swag.YAMLData
)

Source Files

yaml.go

Version
v0.22.0 (latest)
Published
Mar 9, 2024
Platform
linux/amd64
Imports
1 packages
Last checked
3 days ago

Tools for package owners.