Versions in this module Expand all Collapse all v0 v0.1.112 Jan 11, 2026 v0.1.111 Jan 11, 2026 Changes in this version + const ComponentName + const ErrorPort + const RequestPort + const ResponsePort + type APIClient struct + func NewAPIClient(ctx context.Context, specification string, baseURL string, ...) (*APIClient, error) + func (c *APIClient) Call(ctx context.Context, operationID string, params *RequestParams) (*APIResponse, error) + type APIResponse struct + Body []byte + Headers http.Header + StatusCode int + func (r *APIResponse) UnmarshalResponse(target interface{}) error + type ClientOption func(*APIClient) + func WithHTTPClient(httpClient *http.Client) ClientOption + func WithHeader(key, value string) ClientOption + type Component struct + func (h *Component) GetInfo() module.ComponentInfo + func (h *Component) Handle(ctx context.Context, handler module.Handler, port string, msg interface{}) any + func (h *Component) Instance() module.Component + func (h *Component) Ports() []module.Port + type Context any + type EnabledResponses struct + type Enum struct + OptionLabels []string + Options []string + Value string + func (r *Enum) UnmarshalJSON(data []byte) error + func (r Enum) JSONSchema() (jsonschema.Schema, error) + func (r Enum) MarshalJSON() ([]byte, error) + type Error struct + Context Context + Error string + type MultiEnum struct + OptionLabels []string + Options []string + Value []string + func (r *MultiEnum) UnmarshalJSON(data []byte) error + func (r MultiEnum) JSONSchema() (jsonschema.Schema, error) + func (r MultiEnum) MarshalJSON() ([]byte, error) + type MultiError struct + Errors []error + func (m MultiError) Error() string + type OperationName struct + type Request struct + Context Context + Request RequestMsg + type RequestMsg struct + func (r RequestMsg) JSONSchema() (jsonschema.Schema, error) + type RequestParams struct + Body interface{} + Header http.Header + Path map[string]string + Query url.Values + type Response struct + Context Context + Response ResponseMsg + type ResponseMsg struct + func (r ResponseMsg) JSONSchema() (jsonschema.Schema, error) + type Settings struct + EnableErrorPort bool + EnabledResponses EnabledResponses + OperationName OperationName + Specification string