Skip to content

Commit

Permalink
Merge pull request #21 from bargenson/master
Browse files Browse the repository at this point in the history
Add order query params on API definitions returning collections
  • Loading branch information
bakura10 committed Feb 1, 2018
2 parents f00cc98 + 3bf83db commit dd53460
Showing 1 changed file with 145 additions and 0 deletions.
145 changes: 145 additions & 0 deletions src/ServiceDescription/TradeGecko-v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'ids' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -447,6 +452,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => 'string',
Expand Down Expand Up @@ -714,6 +724,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -1054,6 +1069,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'online_ordering' => [
'location' => 'query',
'type' => 'boolean',
Expand Down Expand Up @@ -1316,6 +1336,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -1518,6 +1543,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => 'string',
Expand Down Expand Up @@ -1835,6 +1865,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'fulfillment_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -2012,6 +2047,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'variant_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -2159,6 +2199,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'order_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -2411,6 +2456,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'invoice_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -2588,6 +2638,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -2802,6 +2857,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'company_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -2949,6 +3009,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -3354,6 +3419,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'order_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -3616,6 +3686,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -3770,6 +3845,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -3948,6 +4028,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'brand' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -4185,6 +4270,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'purchase_order_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -4312,6 +4402,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -4658,6 +4753,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'procurement_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -4925,6 +5025,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'adjustment_number' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -5092,6 +5197,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'stock_adjustment_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -5264,6 +5374,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -5488,6 +5603,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'stock_transfer_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -5660,6 +5780,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'tax_type_id' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down Expand Up @@ -5832,6 +5957,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -5974,6 +6104,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'status' => [
'location' => 'query',
'type' => ['string', 'array'],
Expand Down Expand Up @@ -6175,6 +6310,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'composite' => [
'location' => 'query',
'type' => 'boolean',
Expand Down Expand Up @@ -6594,6 +6734,11 @@
'min' => 1,
'required' => false,
],
'order' => [
'location' => 'query',
'type' => 'string',
'required' => false
],
'ids' => [
'location' => 'query',
'type' => ['integer', 'array'],
Expand Down

0 comments on commit dd53460

Please sign in to comment.