Skip to content

Commit e3de853

Browse files
committed
Update Attribute Rest API (add new property: enable_option_creation_during_import)
# Conflicts: # content/swagger/akeneo-web-api.json
1 parent 46b278a commit e3de853

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ DOCKER_RUN = docker run -it --rm -u $(UID):$(GID) -v "$${PWD}":/opt/workdir -w /
88
.DEFAULT_GOAL := build
99

1010
docker-build:
11-
docker build -t $(DOCKER_IMAGE_TAG) - < Dockerfile
11+
docker build -t $(DOCKER_IMAGE_TAG) --load - < Dockerfile
1212

1313
yarn-install: docker-build
1414
$(DOCKER_RUN) -e HOME=/tmp -v /etc/passwd:/etc/passwd:ro $(DOCKER_IMAGE_TAG) yarn install

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,11 @@ properties:
225225
type: number
226226
description: Defines the number of decimal places when decimal places strategy is `round` or `forbid`.
227227
x-warning: Only for `pim_catalog_number` or `pim_catalog_metric` attribute types
228+
enable_option_creation_during_import:
229+
type: boolean
230+
description: Whether new attribute options can be created automatically during product or product model import (CSV, XLSX).
231+
x-warning: Only for `pim_catalog_simpleselect` or `pim_catalog_multiselect` attribute types
232+
x-from-version: "SaaS"
228233
example:
229234
{
230235
"code": "release_date",

0 commit comments

Comments
 (0)