swagen31

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSchemaValidationV31

func BuildSchemaValidationV31(schema *base.Schema, validationString string, fieldInterface string)

func FormatErrors

func FormatErrors(validationErrors []error) string

func FormatValidationErrors

func FormatValidationErrors(validationErrors []*errors.ValidationError) string

func GenerateModelsSpec

func GenerateModelsSpec(doc *v3.Document, models []definitions.ModelMetadata) error

func GenerateSecuritySpec

func GenerateSecuritySpec(doc *v3.Document, securityConfig *[]definitions.SecuritySchemeConfig) error

func InterfaceToSchemaV3

func InterfaceToSchemaV3(doc *v3.Document, interfaceType string) *highbase.SchemaProxy

func ToOpenApiSchemaV3

func ToOpenApiSchemaV3(typeName string) *highbase.Schema

func ToResponseDescription

func ToResponseDescription(description string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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