Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncApi ¶
type AsyncApi struct { AsyncApi string `yaml:"asyncapi,omitempty"` Info Info `yaml:"info,omitempty"` Channels map[string]Channel `yaml:"channels,omitempty"` Components Components `yaml:"components,omitempty"` }
type Channel ¶
type Channel struct { Subscribe ChannelAction `yaml:"subscribe,omitempty"` Publish ChannelAction `yaml:"publish,omitempty"` }
type ChannelAction ¶
type ChannelAction struct {
Message Object `yaml:"message,omitempty"`
}
type Components ¶
type Message ¶
type Message struct { Ref string `yaml:"ref,omitempty"` Headers Object `yaml:"headers,omitempty"` Tags []Tag `yaml:"tags,omitempty"` Payload Object `yaml:"payload,omitempty"` Summary string `yaml:"summary,omitempty"` Description string `yaml:"description,omitempty"` Name string `yaml:"name,omitempty"` ContentType string `yaml:"contentType,omitempty"` Title string `yaml:"title,omitempty"` }
type Object ¶
type Object struct { Ref string `yaml:"$ref,omitempty"` OneOf []Object `yaml:"oneOf,omitempty"` Enum []interface{} `yaml:"enum,omitempty"` Description string `yaml:"description,omitempty"` Example interface{} `yaml:"example,omitempty"` Format string `yaml:"format,omitempty"` Type string `yaml:"type,omitempty"` Items []Object `yaml:"items,omitempty"` Required []string `yaml:"required,omitempty"` Maximum interface{} `yaml:"maximum,omitempty"` Minimum interface{} `yaml:"minimum,omitempty"` Properties map[string]Object `yaml:"properties,omitempty"` }
Click to show internal directories.
Click to hide internal directories.