generator

package
v2.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRequired

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

func GetItemObjects

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

func GetMessages

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

func GetNestedObjects

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

func HasConsumer

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

func HasDefault

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

func HasProducer

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

func LoadAsyncApiSpecWithParser

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