more correct openapi json
All checks were successful
Build and Publish / BuildAndDeployAmd64 (push) Successful in 45s
Build and Publish / BuildAndDeployArm64 (push) Successful in 4m48s

This commit is contained in:
matst80
2025-11-20 22:07:34 +01:00
parent 430da09264
commit f475b56659

View File

@@ -871,6 +871,18 @@
}
},
"schemas": {
"Price": {
"type": "object",
"properties": {
"exVat": { "type": "integer", "format": "int64" },
"incVat": { "type": "integer", "format": "int64" },
"vat": {
"type": "object",
"additionalProperties": { "type": "integer", "format": "int64" }
}
},
"required": ["exVat", "incVat"]
},
"CartGrain": {
"type": "object",
"description": "Cart aggregate (actor state)",
@@ -883,9 +895,9 @@
"type": "array",
"items": { "$ref": "#/components/schemas/CartItem" }
},
"totalPrice": { "type": "integer", "format": "int64" },
"totalPrice": { "$ref": "#/components/schemas/Price" },
"totalTax": { "type": "integer", "format": "int64" },
"totalDiscount": { "type": "integer", "format": "int64" },
"totalDiscount": { "$ref": "#/components/schemas/Price" },
"deliveries": {
"type": "array",
"items": { "$ref": "#/components/schemas/CartDelivery" }
@@ -904,6 +916,7 @@
"$ref": "#/components/schemas/SubscriptionDetails"
}
},
"userId": { "type": "string" },
"confirmationViewCount": { "type": "integer" },
"confirmationLastViewedAt": {
"type": "string",
@@ -927,10 +940,10 @@
"parentId": { "type": "integer" },
"sku": { "type": "string" },
"name": { "type": "string" },
"price": { "type": "integer", "format": "int64" },
"totalPrice": { "type": "integer", "format": "int64" },
"price": { "$ref": "#/components/schemas/Price" },
"totalPrice": { "$ref": "#/components/schemas/Price" },
"totalTax": { "type": "integer", "format": "int64" },
"orgPrice": { "type": "integer", "format": "int64" },
"orgPrice": { "$ref": "#/components/schemas/Price" },
"stock": {
"type": "integer",
"description": "0=OutOfStock,1=LowStock,2=InStock"
@@ -963,7 +976,7 @@
"properties": {
"id": { "type": "integer" },
"provider": { "type": "string" },
"price": { "type": "integer", "format": "int64" },
"price": { "$ref": "#/components/schemas/Price" },
"items": {
"type": "array",
"items": { "type": "integer" }