walmart-api-php icon indicating copy to clipboard operation
walmart-api-php copied to clipboard

Order OrderLines are incorrectly RefundLineType

Open dpash opened this issue 1 year ago • 3 comments

The JSON uses RefundLineType rather than OrderLineType for the OrderLlines returned from the "getAllOrders", which means that none of the data in the order lines are available.

I've tried to rebuild the project, but I'm getting OpenAPI Generator errors that I don't know how to resolve.

I think the following in the replacements.json should solve the issue.

      "orders": {
          "schemas": {
              "Order": {
                  "properties": {
                      "orderLines": {
                          "$refs": "#\/components\/schemas\/OrderLinesType"
                      }
                  }
              }
          }
      }

dpash avatar Sep 28 '23 10:09 dpash