Skip to main content

Module openapi_rewriter

Module openapi_rewriter 

Source
Expand description

Core’s concrete mockforge_openapi::response_rewriter::ResponseRewriter implementation wrapping core’s templating::expand_tokens + overrides::Overrides. Used by the OpenAPI router internally; consumer code rarely constructs this directly. Concrete ResponseRewriter implementation for core.

Wraps core’s templating::expand_tokens and the optional Overrides engine so the OpenAPI router (which now depends only on the ResponseRewriter trait) can dispatch through it without core’s templating/conditions graph bleeding into mockforge-openapi.

Structs§

CoreResponseRewriter
Core’s ResponseRewriter implementation — chains core’s templating expander and (optionally) an Overrides ruleset.