File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ .click-to-copy {
2
+ float : right ;
3
+ }
4
+
5
+ .highlight {
6
+ pre {
7
+ padding : $spacer ;
8
+ }
9
+ }
Original file line number Diff line number Diff line change @@ -58,6 +58,59 @@ Define error handling strategies to manage and recover from workflow execution e
58
58
59
59
{{% /blocks/section %}}
60
60
61
+
62
+
63
+ <section class =" row td-box td-box--5 td-box--height-auto " >
64
+ <div class =" col " >
65
+ <div class="row">
66
+ <div class="col">
67
+ {{< tabpane text=true right=true >}}
68
+ {{% tab header="** Examples** :" disabled=true /%}}
69
+ {{% tab header="Minimal" lang="minimal" %}}
70
+ ``` yaml
71
+ document :
72
+ dsl : 1.0.0-alpha1
73
+ namespace : examples
74
+ name : call-http-shorthand-endpoint
75
+ version : 1.0.0-alpha1
76
+ do :
77
+ - getPet :
78
+ call : http
79
+ with :
80
+ method : get
81
+ endpoint : https://petstore.swagger.io/v2/pet/{petId}
82
+ ` ` `
83
+ {{% /tab %}}
84
+ {{% tab header="Async API" lang="asyncapi" %}}
85
+ ` ` ` yaml
86
+ document :
87
+ dsl : 1.0.0-alpha1
88
+ namespace : examples
89
+ name : bearer-auth
90
+ version : 1.0.0-alpha1
91
+ do :
92
+ - findPet :
93
+ call : asyncapi
94
+ with :
95
+ document :
96
+ uri : https://fake.com/docs/asyncapi.json
97
+ operationRef : findPetsByStatus
98
+ server : staging
99
+ message : getPetByStatusQuery
100
+ binding : http
101
+ payload :
102
+ petId : ${ .pet.id }
103
+ authentication :
104
+ bearer :
105
+ token : ${ .token }
106
+ ` ` `
107
+ {{% /tab %}}
108
+ {{< /tabpane >}}
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </section>
113
+
61
114
{{% blocks/section %}}
62
115
Reach out to us!
63
116
{.h1 .text-center}
You can’t perform that action at this time.
0 commit comments