diff --git a/openapi.json b/openapi.json index ca8a023..16ee668 100644 --- a/openapi.json +++ b/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Unit OpenAPI specifications", "description": "An OpenAPI specifications for unit-sdk clients", - "version": "0.0.2" + "version": "0.0.3" }, "servers": [ { diff --git a/schemas/account_paths.json b/schemas/account_paths.json index 721e99c..b1b5a5e 100644 --- a/schemas/account_paths.json +++ b/schemas/account_paths.json @@ -35,8 +35,10 @@ { "name":"page", "in":"query", - "schema":{ - "$ref":"types.json#/definitions/listPageParametersObject" + "style":"deepObject", + "allowReserved":true, + "schema": { + "$ref": "types.json#/definitions/listPageParametersObject" } }, { diff --git a/schemas/application_paths.json b/schemas/application_paths.json index 6b5606e..965628f 100644 --- a/schemas/application_paths.json +++ b/schemas/application_paths.json @@ -205,6 +205,8 @@ { "name":"page", "in":"query", + "style": "deepObject", + "allowReserved": true, "schema":{ "$ref":"types.json#/definitions/listPageParametersObject" } diff --git a/schemas/authorization_paths.json b/schemas/authorization_paths.json index a08aa51..7404147 100644 --- a/schemas/authorization_paths.json +++ b/schemas/authorization_paths.json @@ -11,6 +11,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } @@ -160,6 +162,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/card_paths.json b/schemas/card_paths.json index 72fb65b..c5dd436 100644 --- a/schemas/card_paths.json +++ b/schemas/card_paths.json @@ -11,6 +11,8 @@ { "name":"page", "in":"query", + "style": "deepObject", + "allowReserved": true, "schema":{ "$ref":"types.json#/definitions/listPageParametersObject" } diff --git a/schemas/check_deposit_paths.json b/schemas/check_deposit_paths.json index 3f73c37..3009644 100644 --- a/schemas/check_deposit_paths.json +++ b/schemas/check_deposit_paths.json @@ -11,6 +11,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/check_payment_paths.json b/schemas/check_payment_paths.json index 166dfa3..aeb16fe 100644 --- a/schemas/check_payment_paths.json +++ b/schemas/check_payment_paths.json @@ -286,6 +286,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/counterparty_paths.json b/schemas/counterparty_paths.json index 630ee4d..e07139d 100644 --- a/schemas/counterparty_paths.json +++ b/schemas/counterparty_paths.json @@ -8,57 +8,59 @@ "summary": "Get Counterparties List", "description": "Get Counterparties List from API ", "parameters":[ - { - "name":"page", - "in":"query", - "schema":{ - "$ref":"types.json#/definitions/listPageParametersObject" - } - }, - { - "name":"filter", - "in":"query", - "style":"deepObject", - "allowReserved":true, - "schema": { - "type": "object", - "properties": { - "customerId": { - "type": "string" - }, - "accountNumber": { - "type": "string" - }, - "routingNumber": { - "type": "string" - }, - "permissions": { - "type": "array", - "items": { - "type": "string", - "enum": [ - "CreditOnly", - "DebitOnly", - "CreditAndDebit" - ] - } - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - } - }, - { - "name":"sort", - "in":"query", - "schema":{ - "type":"string" - } - } + { + "name": "page", + "in": "query", + "style": "deepObject", + "allowReserved": true, + "schema": { + "$ref": "types.json#/definitions/listPageParametersObject" + } + }, + { + "name": "filter", + "in": "query", + "style": "deepObject", + "allowReserved": true, + "schema": { + "type": "object", + "properties": { + "customerId": { + "type": "string" + }, + "accountNumber": { + "type": "string" + }, + "routingNumber": { + "type": "string" + }, + "permissions": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "CreditOnly", + "DebitOnly", + "CreditAndDebit" + ] + } + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + { + "name": "sort", + "in": "query", + "schema": { + "type": "string" + } + } ], "responses": { "200": { diff --git a/schemas/customer_paths.json b/schemas/customer_paths.json index 81424aa..80fc637 100644 --- a/schemas/customer_paths.json +++ b/schemas/customer_paths.json @@ -91,55 +91,57 @@ "operationId": "execute", "summary": "Get Customers List", "description": "Get Customers List from API ", - "parameters":[ - { - "name":"page", - "in":"query", - "schema":{ - "$ref":"types.json#/definitions/listPageParametersObject" - } - }, - { - "name":"filter", - "in":"query", - "style":"deepObject", - "allowReserved":true, - "schema":{ - "type":"object", - "properties":{ - "query":{ - "type":"string" - }, - "status":{ - "type":"array", - "items":{ - "type":"string", - "enum":[ - "Active", - "Archived" - ] + "parameters": [ + { + "name": "page", + "in": "query", + "style": "deepObject", + "allowReserved": true, + "schema": { + "$ref": "types.json#/definitions/listPageParametersObject" + } + }, + { + "name": "filter", + "in": "query", + "style": "deepObject", + "allowReserved": true, + "schema": { + "type": "object", + "properties": { + "query": { + "type": "string" + }, + "status": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Active", + "Archived" + ] + } + }, + "email": { + "type": "string" + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } } - }, - "email": { - "type": "string" - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - } - } - } - }, - { - "name":"sort", - "in":"query", - "schema":{ - "type":"string" - } - } - ], + } + }, + { + "name": "sort", + "in": "query", + "schema": { + "type": "string" + } + } + ], "responses": { "200": { "description": "Successful Response", diff --git a/schemas/dispute_paths.json b/schemas/dispute_paths.json index 957e6e9..23d5cd3 100644 --- a/schemas/dispute_paths.json +++ b/schemas/dispute_paths.json @@ -11,6 +11,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/event_paths.json b/schemas/event_paths.json index f79aa59..a09d935 100644 --- a/schemas/event_paths.json +++ b/schemas/event_paths.json @@ -20,6 +20,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/payments_paths.json b/schemas/payments_paths.json index b13ce8b..648d6e2 100644 --- a/schemas/payments_paths.json +++ b/schemas/payments_paths.json @@ -38,6 +38,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } @@ -510,6 +512,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/repayment_paths.json b/schemas/repayment_paths.json index 24dac4d..7a9ce36 100644 --- a/schemas/repayment_paths.json +++ b/schemas/repayment_paths.json @@ -20,6 +20,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/reward_paths.json b/schemas/reward_paths.json index 0361cb1..fe6d223 100644 --- a/schemas/reward_paths.json +++ b/schemas/reward_paths.json @@ -48,6 +48,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/statement_paths.json b/schemas/statement_paths.json index 8817dc0..81da082 100644 --- a/schemas/statement_paths.json +++ b/schemas/statement_paths.json @@ -11,6 +11,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/stop_payment_paths.json b/schemas/stop_payment_paths.json index 0e258a3..2a79365 100644 --- a/schemas/stop_payment_paths.json +++ b/schemas/stop_payment_paths.json @@ -56,6 +56,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/transaction_paths.json b/schemas/transaction_paths.json index 380e085..ccd336c 100644 --- a/schemas/transaction_paths.json +++ b/schemas/transaction_paths.json @@ -11,6 +11,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" } diff --git a/schemas/webhook_paths.json b/schemas/webhook_paths.json index 3cfef8d..82c211f 100644 --- a/schemas/webhook_paths.json +++ b/schemas/webhook_paths.json @@ -11,6 +11,8 @@ { "name": "page", "in": "query", + "style": "deepObject", + "allowReserved": true, "schema": { "$ref": "types.json#/definitions/listPageParametersObject" }