Versions in this module Expand all Collapse all v0 v0.1.2 Sep 4, 2026 Changes in this version + type Args map[string]any + func (a Args) Bind(dst any) error + func (a Args) GetOr[T any](key string, fallback T) T + func (a Args) Get[T any](key string) (T, bool) + func (a Args) Has(key string) bool + func (a Args) Slice[T any](key string) []T + type ExecutionContext struct + IngressTime time.Time + RawRequest *http.Request + Request *RequestState + Server manifest.Server + Steps map[string]StepResult + TimestampEpoch int64 + func NewExecutionContext(w http.ResponseWriter, r *http.Request, opts ...ExecutionContextOption) (*ExecutionContext, error) + func (e *ExecutionContext) Context() context.Context + func (e *ExecutionContext) GetStepResult(stepName string) (StepResult, bool) + func (e *ExecutionContext) NewStep(name string, args Args) *Step + func (e *ExecutionContext) SetStepResult(stepName string, result StepResult) + func (e *ExecutionContext) SnapshotSteps() map[string]StepResult + func (e *ExecutionContext) WithContext(ctx context.Context) *ExecutionContext + type ExecutionContextOption func(*executionContextConfig) + func WithPathParams(paramNames []string) ExecutionContextOption + func WithServer(server manifest.Server) ExecutionContextOption + type RequestState struct + Body any + Headers map[string]string + Method string + Path map[string]string + Query map[string]string + func (r *RequestState) Header(key string) string + func (r *RequestState) PathParam(key string, fallback ...string) string + func (r *RequestState) QueryParam(key string, fallback ...string) string + type Step struct + Args Args + Name string + func (s *Step) Problem(status int, detail string) problem.Problem + type StepHandler func(ctx context.Context, step *Step) (any, error) + type StepResult = map[string]any