feat: conditionally include diagram in output example

This commit is contained in:
soprue
2025-05-24 23:43:16 +09:00
parent e045617243
commit 16b9ccd025

View File

@ -60,6 +60,14 @@ type:
- ...
description: |
...
{%- if add_diagram %}
diagram: |
sequenceDiagram
participant A as ComponentA
participant B as ComponentB
A->>B: functionCall()
B-->>A: response
{%- endif %}
title: |
...
{%- if enable_semantic_files_types %}
@ -141,6 +149,14 @@ type:
- ...
description: |
...
{%- if add_diagram %}
diagram: |
sequenceDiagram
participant A as ComponentA
participant B as ComponentB
A->>B: functionCall()
B-->>A: response
{%- endif %}
title: |
...
{%- if enable_semantic_files_types %}