Skip to content

Commit

Permalink
Merge pull request #18 from zf-fr/hotfix/move-array-params-to-end-1
Browse files Browse the repository at this point in the history
Move array params to end
  • Loading branch information
danizord committed May 10, 2017
2 parents 0697df4 + fcb7856 commit 371906a
Showing 1 changed file with 46 additions and 46 deletions.
92 changes: 46 additions & 46 deletions src/ServiceDescription/TradeGecko-v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,11 @@
'min' => 1,
'required' => false,
],
'online_ordering' => [
'location' => 'query',
'type' => 'boolean',
'required' => false,
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand All @@ -1069,11 +1074,6 @@
'type' => ['integer', 'array'],
'required' => false,
],
'online_ordering' => [
'location' => 'query',
'type' => 'boolean',
'required' => false,
],
],
],

Expand Down Expand Up @@ -3155,11 +3155,6 @@
'type' => 'string',
'required' => false,
],
'tags' => [
'location' => 'json',
'type' => 'array',
'required' => false,
],
'tax_treatment' => [
'location' => 'json',
'type' => 'string',
Expand All @@ -3172,6 +3167,11 @@
'required' => false,
'enum' => ['draft', 'active', 'finalized']
],
'tags' => [
'location' => 'json',
'type' => 'array',
'required' => false,
],
'order_line_items' => [
'location' => 'json',
'type' => 'array',
Expand Down Expand Up @@ -3268,17 +3268,17 @@
'type' => 'string',
'required' => false,
],
'tags' => [
'location' => 'json',
'type' => 'array',
'required' => false,
],
'tax_treatment' => [
'location' => 'json',
'type' => 'string',
'required' => false,
'enum' => ['exclusive', 'inclusive']
],
'tags' => [
'location' => 'json',
'type' => 'array',
'required' => false,
],
'status' => [
'location' => 'json',
'type' => 'string',
Expand Down Expand Up @@ -4467,14 +4467,14 @@
'type' => 'string',
'required' => false,
],
'tags' => [
'cached_quantity' => [
'location' => 'json',
'type' => 'array',
'type' => 'string',
'required' => false,
],
'cached_quantity' => [
'tags' => [
'location' => 'json',
'type' => 'string',
'type' => 'array',
'required' => false,
],
'purchase_order_line_items' => [
Expand Down Expand Up @@ -4579,14 +4579,14 @@
'type' => 'string',
'required' => false,
],
'tags' => [
'cached_quantity' => [
'location' => 'json',
'type' => 'array',
'type' => 'string',
'required' => false,
],
'cached_quantity' => [
'tags' => [
'location' => 'json',
'type' => 'string',
'type' => 'array',
'required' => false,
],
],
Expand Down Expand Up @@ -6081,11 +6081,6 @@
'type' => 'boolean',
'required' => false,
],
'permissions' => [
'location' => 'json',
'type' => 'array',
'required' => false,
],
'phone_number' => [
'location' => 'json',
'type' => 'string',
Expand All @@ -6106,6 +6101,11 @@
'type' => 'string',
'required' => false,
],
'permissions' => [
'location' => 'json',
'type' => 'array',
'required' => false,
],
],
],

Expand Down Expand Up @@ -6180,49 +6180,49 @@
'min' => 1,
'required' => false,
],
'status' => [
'composite' => [
'location' => 'query',
'type' => ['string', 'array'],
'type' => 'boolean',
'required' => false,
],
'product_id' => [
'online_ordering' => [
'location' => 'query',
'type' => ['integer', 'array'],
'type' => 'boolean',
'required' => false,
],
'sku' => [
'order' => [
'location' => 'query',
'type' => ['string', 'array'],
'type' => 'string',
'required' => false,
],
'default_ledger_account_id' => [
'q' => [
'location' => 'query',
'type' => ['integer', 'array'],
'type' => 'string',
'required' => false,
],
'composite' => [
'status' => [
'location' => 'query',
'type' => 'boolean',
'type' => ['string', 'array'],
'required' => false,
],
'online_ordering' => [
'product_id' => [
'location' => 'query',
'type' => 'boolean',
'type' => ['integer', 'array'],
'required' => false,
],
'order' => [
'sku' => [
'location' => 'query',
'type' => 'string',
'type' => ['string', 'array'],
'required' => false,
],
'product_type' => [
'default_ledger_account_id' => [
'location' => 'query',
'type' => ['string', 'array'],
'type' => ['integer', 'array'],
'required' => false,
],
'q' => [
'product_type' => [
'location' => 'query',
'type' => 'string',
'type' => ['string', 'array'],
'required' => false,
],
],
Expand Down

0 comments on commit 371906a

Please sign in to comment.