Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Funcs ¶
func (Funcs) Call ¶ added in v1.5.0
func (funcs Funcs) Call(invocation Invocation) string
func (Funcs) MarshalJSON ¶
type Invocation ¶ added in v1.5.0
type NestedParams ¶ added in v1.7.0
type NestedParams []Param
func (NestedParams) MarshalJSON ¶ added in v1.7.0
func (params NestedParams) MarshalJSON() ([]byte, error)
type Param ¶
type Param struct { Name string `json:"-"` Type string `json:"type,omitempty"` Description string `json:"description,omitempty"` Required bool `json:"-"` // Enum []any `json:"enum,omitempty"` Items NestedParams `json:",omitempty"` }
func (Param) MarshalJSON ¶ added in v1.7.0
Click to show internal directories.
Click to hide internal directories.