👎Deprecated:
Will be extracted to mockforge-intelligence crate
Expand description
AI-assisted response generation for dynamic mock endpoints.
The data types and prompt expansion helper previously lived here; they
have been promoted to mockforge_foundation::ai_response so that
mockforge-openapi (and any other leaf crate) can depend on them without
pulling in the full mockforge-core graph. This module re-exports them
for backwards compatibility.
Structs§
- AiResponse
Config - Configuration for AI-assisted response generation per endpoint
This is parsed from the
x-mockforge-aiOpenAPI extension - Request
Context - Request context for prompt template expansion
Enums§
- AiResponse
Mode - AI response generation mode
Functions§
- expand_
prompt_ template Deprecated - Expand template variables in a prompt string using request context