File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ <h1>{{asyncapi.info().title()}} {{asyncapi.info().version()}}</h1>
25
25
{% endif %}
26
26
{% if asyncapi.info().contact().email() %}
27
27
Contact email: < a class ="border border-solid border-purple-lighter hover:bg-purple-lighter hover:text-purple-dark font-bold no-underline text-purple text-xs uppercase rounded mr-2 px-3 py-1 "
28
- href ="{{asyncapi.info().contact().email()}} " target ="_blank "> {{asyncapi.info().contact().email()}}</ a >
28
+ href ="mailto: {{asyncapi.info().contact().email()}} " target ="_blank "> {{asyncapi.info().contact().email()}}</ a >
29
29
{% endif %}
30
30
{% endif %}
31
31
</ div >
Original file line number Diff line number Diff line change 20
20
{{ tags(msg.tags()) }}
21
21
22
22
< div class ="mt-4 mb-4 markdown "> {{ msg.description() | markdown2html | safe }}</ div >
23
- {{ schema(msg.payload(), 'Payload', open=open) }}
23
+ {% if msg.payload() %}
24
+ {{ schema(msg.payload(), 'Payload', open=open) }}
25
+ {% endif %}
24
26
{% if msg.headers() %}
25
27
< div class ="mt-4 ">
26
28
{{ schema(msg.headers(), 'Headers', open=open) }}
You can’t perform that action at this time.
0 commit comments