Skip to content

Commit 4bbff15

Browse files
committed
Set constant boundary so examples are not updated every generation
1 parent 9b9c6cf commit 4bbff15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/graphql/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% for key,header in method.headers %}
22
{% if header == 'multipart/form-data' %}
3-
{% set boundary = random() %}
3+
{% set boundary = 'cec8e8123c05ba25' %}
44
{{ method.method | caseUpper }} {{spec.basePath}}{{ method.path }} HTTP/1.1
55
Host: {{ spec.host }}
66
{% for key, header in method.headers %}

templates/http/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set boundary = random() %}
1+
{% set boundary = 'cec8e8123c05ba25' %}
22
{{ method.method | caseUpper }} {{spec.basePath}}{{ method.path }} HTTP/1.1
33
Host: {{ spec.host }}
44
{% for key, header in method.headers %}

0 commit comments

Comments
 (0)