Fix JSON schema errors

This commit is contained in:
Max Martens 2026-07-14 15:50:57 +02:00
parent 23dd83fac9
commit 0987cedb4f

View File

@ -6878,7 +6878,6 @@ components:
example: 11 example: 11
PostOrder: PostOrder:
type: object type: object
required:
properties: properties:
externalOrderId: externalOrderId:
type: string type: string
@ -6919,7 +6918,8 @@ components:
Amount of the products to be delivered, in case of saldo quantity is used to define the amount of saldo to be charged in eurocents. If multiple GBO products are added, the same amount of customerTokens will be required. Amount of the products to be delivered, in case of saldo quantity is used to define the amount of saldo to be charged in eurocents. If multiple GBO products are added, the same amount of customerTokens will be required.
example: 1 example: 1
createdOn: createdOn:
type: datetime type: string
format: date-time
description: |- description: |-
Current datetime, moment client added orderLine to the order Current datetime, moment client added orderLine to the order
example: "2024-03-22T09:00:00" example: "2024-03-22T09:00:00"
@ -6929,12 +6929,14 @@ components:
The orderLineId as known in an external sales system, used for reconcilliation The orderLineId as known in an external sales system, used for reconcilliation
example: "MyOrderLine123" example: "MyOrderLine123"
validFrom: validFrom:
type: datetime type: string
format: date-time
description: |- description: |-
The moment the chosen product should be activated The moment the chosen product should be activated
example: "2024-03-30T09:00:00" example: "2024-03-30T09:00:00"
validUntil: validUntil:
type: datetime type: string
format: date-time
description: |- description: |-
Only required when a product does not have a fixed duration, otherwise it is calculated by the back end system Only required when a product does not have a fixed duration, otherwise it is calculated by the back end system
example: null example: null
@ -6946,7 +6948,6 @@ components:
$ref: "#/components/schemas/PostVoucher" $ref: "#/components/schemas/PostVoucher"
PatchOrderLine: PatchOrderLine:
type: object type: object
required:
properties: properties:
productId: productId:
type: integer type: integer
@ -6955,10 +6956,12 @@ components:
type: integer type: integer
example: 1 example: 1
validFrom: validFrom:
type: datetime type: string
format: date-time
example: "2024-03-30T09:00:00" example: "2024-03-30T09:00:00"
validUntil: validUntil:
type: datetime type: string
format: date-time
example: null example: null
PostVoucher: PostVoucher:
type: object type: object