Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
Config is the fully resolved configuration for one deterministic MCP mock server.
func FromEvalConfig ¶
func FromEvalConfig(mock models.MCPMockConfig, baseDir string) (*Config, error)
FromEvalConfig resolves an eval.yaml mcp_mocks entry into a mock server config.
type Response ¶
type Response struct {
Match map[string]any `json:"match,omitempty"`
MatchSchema map[string]any `json:"match_schema,omitempty"`
MatchRegex map[string]string `json:"match_regex,omitempty"`
Return any `json:"return,omitempty"`
Error string `json:"error,omitempty"`
}
Response defines one fixture response and its matching rules.
Click to show internal directories.
Click to hide internal directories.