Skip to content

Commit ab7be6f

Browse files
authored
PROGX-1048: max_items_count documentation (#1122)
2 parents 09e0505 + 4b26d41 commit ab7be6f

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

content/swagger/akeneo-web-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

content/swagger/resources/attributes/definitions/attribute.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,14 @@ properties:
227227
x-warning: Only for `pim_catalog_number` or `pim_catalog_metric` attribute types
228228
enable_option_creation_during_import:
229229
type: boolean
230-
description: Whether new attribute options can be created automatically during product or product model import (CSV, XLSX). This feature will be available soon.
230+
description: Whether new attribute options can be created automatically during product or product model import (CSV, XLSX), when the attribute type is `pim_catalog_simpleselect` or `pim_catalog_multiselect`.
231231
x-warning: Only for `pim_catalog_simpleselect` or `pim_catalog_multiselect` attribute types
232232
x-from-version: "SaaS"
233+
max_items_count:
234+
type: number
235+
description: Maximum number of items allowed in an asset collection when the attribute type is `pim_catalog_asset_collection`.
236+
x-warning: Only for `pim_catalog_asset_collection` attribute types
237+
x-from-version: "SaaS"
233238
example:
234239
{
235240
"code": "release_date",
@@ -262,5 +267,6 @@ example:
262267
"labels": { "en_US": "Sale date", "fr_FR": "Date des soldes" },
263268
"is_mandatory": false,
264269
"decimal_places_strategy": null,
265-
"decimal_places": null
270+
"decimal_places": null,
271+
"max_items_count": null
266272
}

0 commit comments

Comments
 (0)