asyncapispec

package
v0.0.0-...-6670d34 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package asyncapispec wraps the minimum of the AsyncAPI specification that Mox Populi has to work with.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelItem

type ChannelItem map[string]interface{}

func (ChannelItem) GetOrAddSubscribe

func (c ChannelItem) GetOrAddSubscribe() Operation

type Channels

type Channels map[string]interface{}

func (Channels) GetOrAddItem

func (c Channels) GetOrAddItem(key string) ChannelItem

type HttpMessageBinding

type HttpMessageBinding map[string]interface{}

func (HttpMessageBinding) GetOrAddHeaders

func (o HttpMessageBinding) GetOrAddHeaders() schema.ObjectSchema

type HttpOperationBinding

type HttpOperationBinding map[string]interface{}

func (HttpOperationBinding) GetOrAddOrTypeQuery

func (o HttpOperationBinding) GetOrAddOrTypeQuery() schema.Schema

func (HttpOperationBinding) Method

func (o HttpOperationBinding) Method() string

type Message

type Message map[string]interface{}

func (Message) ContentType

func (o Message) ContentType() string

func (Message) CorrelationIdHeaderKey

func (o Message) CorrelationIdHeaderKey() (string, bool)

func (Message) GetOrAddBindings

func (o Message) GetOrAddBindings() MessageBindings

func (Message) GetOrAddHeaders

func (o Message) GetOrAddHeaders() schema.Schema

func (Message) GetOrAddPayload

func (o Message) GetOrAddPayload() schema.Schema

type MessageBinding

type MessageBinding map[string]interface{}

type MessageBindings

type MessageBindings map[string]interface{}

func (MessageBindings) GetOrAdd

func (o MessageBindings) GetOrAdd(key string) MessageBinding

func (MessageBindings) GetOrAddHttp

func (o MessageBindings) GetOrAddHttp() HttpMessageBinding

type Operation

type Operation map[string]interface{}

func (Operation) GetOrAddBindings

func (o Operation) GetOrAddBindings() OperationBindings

func (Operation) GetOrAddMessage

func (o Operation) GetOrAddMessage() Message

type OperationBinding

type OperationBinding map[string]interface{}

type OperationBindings

type OperationBindings map[string]interface{}

func (OperationBindings) GetOrAdd

func (o OperationBindings) GetOrAdd(key string) OperationBinding

func (OperationBindings) GetOrAddHttp

func (o OperationBindings) GetOrAddHttp() HttpOperationBinding

type Server

type Server map[string]interface{}

func (Server) Protocol

func (s Server) Protocol() string

func (Server) Url

func (s Server) Url() string

type Servers

type Servers map[string]interface{}

func (Servers) GetOrAddServer

func (c Servers) GetOrAddServer(key string) Server

type Specification

type Specification map[string]interface{}

func (Specification) GetOrAddChannels

func (s Specification) GetOrAddChannels() Channels

func (Specification) GetOrAddServers

func (s Specification) GetOrAddServers() Servers

Jump to

Keyboard shortcuts

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