Skip to content

Commit 5c83482

Browse files
committed
docs: fix Mustache template rendering in client-side adoption guide
- Wrapped `api_wrapper.mustache` block with `{% raw %} ... {% endraw %}` to prevent Jekyll/Liquid from breaking the template syntax on GitHub Pages. - Ensured README formatting stays intact in repository view.
1 parent b4264e9 commit 5c83482

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/adoption/client-side-adoption.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ src/main/resources/openapi-templates/
100100

101101
**`api_wrapper.mustache`**
102102

103+
{% raw %}
104+
103105
```mustache
104106
import {{commonPackage}}.ServiceClientResponse;
105107
@@ -111,6 +113,8 @@ public class {{classname}}
111113
}
112114
```
113115

116+
{% endraw %}
117+
114118
**`model.mustache`** (partial overlay to delegate wrapper classes to `api_wrapper.mustache`).
115119

116120
These ensure generated wrappers extend the generic base instead of duplicating fields.

0 commit comments

Comments
 (0)