Skip to content

Commit

Permalink
Replace the Order/orderLines type
Browse files Browse the repository at this point in the history
The `orderLines` type in the schema was incorrectly set to be `RefundLinesType`
which meant that many of the values were not exposed to the user.

Fixes highsidelabs#13, fixes highsidelabs#17, fixes highsidelabs#19
  • Loading branch information
dpash committed Feb 19, 2024
1 parent 23c0f6a commit 64a827c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions resources/schemas/modifications/replacements.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@
}
},
"schemas": {}
},
"orders": {
"components": {
"schemas": {
"Order": {
"properties": {
"orderLines": {
"$ref": "#\/components\/schemas\/OrderLinesType"
}
}
}
}
}
}
}
}
Expand Down

0 comments on commit 64a827c

Please sign in to comment.