changedInput schema / properties / body / properties / payment / allOf
Previous value: -[
- {
- "properties": {
- "amount": {
- "description": "Service price",
- "example": 50,
- "type": "number"
- },
- "deposit": {
- "description": "Deposit amount or percentage value",
- "example": 20,
- "type": "number"
- },
- "depositType": {
- "description": "Deposit type",
- "enum": [
- "percentage",
- "amount"
- ],
- "example": "amount",
- "type": "string"
- }
- },
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "amount": {
+ "description": "Service price",
+ "example": 50,
+ "type": "number"
+ },
+ "deposit": {
+ "description": "Deposit amount or percentage value",
+ "example": 20,
+ "type": "number"
+ },
+ "depositType": {
+ "description": "Deposit type",
+ "enum": [
+ "percentage",
+ "amount"
+ ],
+ "example": "amount",
+ "type": "string"
+ }
+ },
+ "title": "PaymentDTO",
+ "type": "object"
+ }
+]
addedInput schema / properties / body / properties / payment / example
Added value: +{
+ "amount": 50,
+ "deposit": 20,
+ "depositType": "amount"
+}
addedInput schema / properties / body / properties / staff / example
Added value: +[
+ {
+ "id": "65e5f6dfacf123513228d384"
+ }
+]
addedInput schema / properties / body / properties / staff / items / title
Added value: +"StaffDTO"
addedInput schema / properties / body / properties / variations / example
Added value: +[
+ {
+ "id": "65e5f6dfacf123513228d385",
+ "name": "Standard Haircut",
+ "serviceDuration": 30
+ }
+]
changedInput schema / properties / body / properties / variations / items / properties / payment / allOf
Previous value: -[
- {
- "properties": {
- "amount": {
- "description": "Service price",
- "example": 50,
- "type": "number"
- },
- "deposit": {
- "description": "Deposit amount or percentage value",
- "example": 20,
- "type": "number"
- },
- "depositType": {
- "description": "Deposit type",
- "enum": [
- "percentage",
- "amount"
- ],
- "example": "amount",
- "type": "string"
- }
- },
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "amount": {
+ "description": "Service price",
+ "example": 50,
+ "type": "number"
+ },
+ "deposit": {
+ "description": "Deposit amount or percentage value",
+ "example": 20,
+ "type": "number"
+ },
+ "depositType": {
+ "description": "Deposit type",
+ "enum": [
+ "percentage",
+ "amount"
+ ],
+ "example": "amount",
+ "type": "string"
+ }
+ },
+ "title": "PaymentDTO",
+ "type": "object"
+ }
+]
addedInput schema / properties / body / properties / variations / items / properties / payment / example
Added value: +{
+ "amount": 50,
+ "deposit": 20,
+ "depositType": "amount"
+}
addedInput schema / properties / body / properties / variations / items / title
Added value: +"UpdateServiceVariationDTO"
addedInput schema / properties / body / title
Added value: +"UpdateServiceDTO"