Skip to content

Commit

Permalink
Merge pull request #266 from MyParcelCOM/feature/service-rate-options
Browse files Browse the repository at this point in the history
🪙 Service rates can have options with a price
  • Loading branch information
yoan-myparcel authored Oct 15, 2024
2 parents 412a883 + 72ef596 commit 3ad01d4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions specification/schemas/ServiceRate.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@
"example": 3
}
}
},
"options": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "#/components/schemas/ServiceOption"
},
{
"properties": {
"price": {
"$ref": "#/components/schemas/Price"
}
}
}
]
}
}
}
}
Expand Down

0 comments on commit 3ad01d4

Please sign in to comment.