lanaiutil

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UUID_IMPORT_PATH = "github.com/google/uuid"
	JSON_IMPORT_PATH = "encoding/json"
	TIME_IMPORT_PATH = "time"
)

Variables

View Source
var (
	FormatToExternalImport = map[string]string{
		"uuid":      UUID_IMPORT_PATH,
		"date-time": TIME_IMPORT_PATH,
	}
)

Functions

func ConvertToSchemaRef

func ConvertToSchemaRef(element interface{}) (*openapi3.SchemaRef, error)

func ExternalImportsFromFormat

func ExternalImportsFromFormat(element interface{}) (result []string)

func MatchesFormat

func MatchesFormat(element interface{}, specificType string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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