generator

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRequired added in v0.5.0

func CheckRequired(propertyName string, required []interface{}) bool

func GetItemObjects added in v0.5.0

func GetItemObjects(messages []map[string]interface{}) []map[string]interface{}

func GetMessages added in v0.5.0

func GetMessages(data map[string]interface{}) []map[string]interface{}

func GetNestedObjects added in v0.5.0

func GetNestedObjects(messages []map[string]interface{}) []map[string]interface{}

func HasConsumer added in v1.0.3

func HasConsumer(data map[string]interface{}) bool

func HasDefault added in v0.5.0

func HasDefault(property map[string]interface{}) bool

func HasProducer added in v1.0.3

func HasProducer(data map[string]interface{}) bool

func LoadAsyncApiSpecWithParser added in v0.5.0

func LoadAsyncApiSpecWithParser(asyncApiSpecPath string) (map[string]interface{}, error)

Types

type Generator

type Generator interface {
	Generate(asyncApiSpecPath string, out string) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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