Amount in cart is now a complex object

This commit is contained in:
Nico Kroll 2025-06-19 13:38:08 +02:00
parent 094262e414
commit 738aaa0a6d
1 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
title: "TyrePro-API, Shop" title: "TyrePro-API, Shop"
version: "Version 8" version: "Version 9"
servers: servers:
- url: "https://musterreifen.com/api/shop" - url: "https://musterreifen.com/api/shop"
description: "Development server, customers domain" description: "Development server, customers domain"
@ -1371,7 +1371,17 @@ components:
type: "string" type: "string"
format: "date" format: "date"
AmountInCart: AmountInCart:
type: "number" type: "array"
items:
type: "object"
required:
- "GuidCart"
- "Amount"
properties:
GuidCart:
type: "string"
Amount:
type: "number"
MaterialType: MaterialType:
type: "object" type: "object"
required: required: