-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Swager Definition for eav-data-attribute-option-interface #18525
Comments
Hi @vetshopdeveloper. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @vetshopdeveloper do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
@magento-engcom-team give me 2.2.6 instance |
Hi @vetshopdeveloper. Thank you for your request. I'm working on Magento 2.2.6 instance for you |
Hi @vetshopdeveloper, here is your Magento instance. |
Confirmed on default instance provided
swagger definition as per above instance attached as "is_default": {
"type": "boolean",
"description": "Default"
}, return from above call attached as {
"label": "United States",
"value": "US",
"is_default": [
"1"
]
}, |
Hi @engcom-backlog-andrii. Thank you for working on this issue.
|
@engcom-backlog-andrii Thank you for verifying the issue. Based on the provided information internal tickets |
Hi @hiren-wagento. Thank you for working on this issue.
|
Hi @vetshopdeveloper. Thank you for your report. The fix will be available with the upcoming 2.3.1 release. |
Hi, Will the fix be back ported to the 2.2.x branch |
Hi @vetshopdeveloper. Thank you for your report.
The fix will be available with the upcoming 2.2.9 release. |
Preconditions
Steps to reproduce
CatalogProductAttributeRepositoryV1Api.CatalogProductAttributeRepositoryV1GetListGet
with search parameters ofattribute_set_id > 0
or
any other endpoint that returns an object of
eav-data-attribute-option-interface
wereis_default
is totrue
Expected result
is_default
return as a bool when presentActual result
is_default
returns an object2.2.6 SWAGGER Definition
Sample of returned json
CatalogProductAttributeRepositoryV1Api.CatalogProductAttributeRepositoryV1GetListGet
Expected Return
The text was updated successfully, but these errors were encountered: