Module templating

Module templating 

Source
Expand description

Extended templating system for MockForge with request chaining support

This module provides template expansion with support for:

  • Standard tokens (UUID, timestamps, random data, faker)
  • Request chaining context variables
  • End-to-end encryption functions

Structs§

EnvironmentTemplatingContext
Context for environment variables during template expansion
TemplateEngine
Template engine for processing template strings with various token types
TemplatingContext
Combined templating context with chain, environment, and time variables

Traits§

FakerProvider
Provider trait for generating fake data in templates

Functions§

expand_str
Expand templating tokens in a string
expand_str_with_context
Expand templating tokens in a string with templating context
expand_tokens
Expand templating tokens in a JSON value recursively
expand_tokens_with_context
Expand templating tokens in a JSON value recursively with context
register_faker_provider
Register a custom faker provider for template token generation