Skip to main content

generate

Function generate 

Source
pub fn generate(
    schema: &CompiledSchema,
    targets: &[Target],
    mcp_config: Option<&McpGenerateConfig>,
) -> BTreeMap<String, String>
Expand description

Generate client artifacts for the requested targets.

Returns a map of relative file paths to their contents. The sdk target is always included if react-query or msw is requested.