Skip to content

Commit 8755b01

Browse files
committed
wip
1 parent 69f1c15 commit 8755b01

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

openapi.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@
3030
"summary": "Start a transaction",
3131
"description": "Start a transaction using the given parameters",
3232
"operationId": "start",
33-
"headers": {
34-
"Signature": {
35-
"$ref": "#/components/headers/Signature"
33+
"parameters": [
34+
{
35+
"$ref": "#/components/parameters/Signature",
36+
"required": true
3637
}
37-
},
38+
],
3839
"requestBody": {
3940
"description": "The transaction object you would like to start.",
4041
"required": true,
@@ -51,7 +52,10 @@
5152
"description": "Success response",
5253
"headers": {
5354
"Signature": {
54-
"$ref": "#/components/headers/Signature"
55+
"schema": {
56+
"type": "string",
57+
"example": "3WGqCnWJArhA224xVdUY1fPh91tpd6va6JvBrPNuHK449TZTgsRn3DBu5UBGbcTn"
58+
}
5559
}
5660
},
5761
"content": {
@@ -106,23 +110,19 @@
106110
}
107111
}
108112
}
109-
},
110-
"/finish": {
111-
"post": {}
112113
}
113114
},
114115
"components": {
115-
"headers": {
116+
"parameters": {
116117
"Signature": {
117-
"description": "The signature created by the SimplePay back-end.",
118+
"name": "Signature",
119+
"in": "header",
120+
"description": "The signature.",
118121
"schema": {
119122
"type": "string",
120123
"example": "3WGqCnWJArhA224xVdUY1fPh91tpd6va6JvBrPNuHK449TZTgsRn3DBu5UBGbcTn"
121124
}
122125
}
123-
},
124-
"parameters": {
125-
126126
},
127127
"schemas": {
128128
"Transaction": {

0 commit comments

Comments
 (0)