Skip to content

Commit 46a9062

Browse files
committed
ibexa-types.raml: Draft CartConstraintViolation types
1 parent 8063a6a commit 46a9062

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/api/rest_api/rest_api_reference/input/ibexa-types.raml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3614,6 +3614,29 @@ CartMetadataUpdate:
36143614
names: Value[]
36153615
descriptions: Value[]
36163616

3617+
CartConstraintViolationListWrapper:
3618+
description: 'JSON object with only a CartConstraintViolationList property.'
3619+
type: object
3620+
properties:
3621+
CartConstraintViolationList: CartConstraintViolationList
3622+
3623+
CartConstraintViolationList:
3624+
description: 'This class represents a list of cart constraint violations.'
3625+
type: object
3626+
properties:
3627+
violations:
3628+
type: array
3629+
items: CartConstraintViolation
3630+
#TODO: CartConstraintViolationWrapper?
3631+
3632+
CartConstraintViolation:
3633+
description: 'This class represents a cart constraint violation.'
3634+
type: object
3635+
properties:
3636+
code: string
3637+
propertyPath: string
3638+
message: string
3639+
36173640
CatalogWrapper:
36183641
description: 'JSON object with only a Catalog property.'
36193642
type: object

0 commit comments

Comments
 (0)