Skip to content

Commit 23a0ee9

Browse files
committed
fix
1 parent c03cad1 commit 23a0ee9

File tree

1 file changed

+25
-22
lines changed

1 file changed

+25
-22
lines changed

openapi.json

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -641,11 +641,11 @@
641641
"/cardquery": {
642642
"post": {
643643
"tags": [
644-
"Card"
644+
"Transaction"
645645
],
646646
"summary": "Query a saved card",
647647
"description": "Get the info about a saved bankcard",
648-
"operationId": "query",
648+
"operationId": "cardquery",
649649
"parameters": [
650650
{
651651
"$ref": "#/components/parameters/Signature"
@@ -696,24 +696,27 @@
696696
"history": {
697697
"type": "array",
698698
"items": {
699-
"orerRef": {
700-
"$ref": "#/components/schemas/OrderRef"
701-
},
702-
"transactionId": {
703-
"$ref": "#/components/schemas/TansactionId"
704-
},
705-
"status": {
706-
"$ref": "#/components/schemas/TransactionStatus"
707-
},
708-
"paymentDate": {
709-
"type": "string",
710-
"description": "The ISO 8601 format of the payment date.",
711-
"example": "2004-02-12T15:19:21+00:00"
712-
},
713-
"finishDate": {
714-
"type": "string",
715-
"description": "The ISO 8601 format of the finish date.",
716-
"example": "2004-02-12T15:19:21+00:00"
699+
"type": "object",
700+
"properties": {
701+
"orerRef": {
702+
"$ref": "#/components/schemas/OrderRef"
703+
},
704+
"transactionId": {
705+
"$ref": "#/components/schemas/TransactionId"
706+
},
707+
"status": {
708+
"$ref": "#/components/schemas/TransactionStatus"
709+
},
710+
"paymentDate": {
711+
"type": "string",
712+
"description": "The ISO 8601 format of the payment date.",
713+
"example": "2004-02-12T15:19:21+00:00"
714+
},
715+
"finishDate": {
716+
"type": "string",
717+
"description": "The ISO 8601 format of the finish date.",
718+
"example": "2004-02-12T15:19:21+00:00"
719+
}
717720
}
718721
}
719722
}
@@ -728,11 +731,11 @@
728731
"/cardcancel": {
729732
"post": {
730733
"tags": [
731-
"Card"
734+
"Transaction"
732735
],
733736
"summary": "Cancel a saved card",
734737
"description": "Cancel a saved bankcard",
735-
"operationId": "cancel",
738+
"operationId": "cardcancel",
736739
"parameters": [
737740
{
738741
"$ref": "#/components/parameters/Signature"

0 commit comments

Comments
 (0)