Skip to content
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

'description' is null in search api-product rest API even configured the description #2253

Closed
NishanthiWi opened this issue Nov 2, 2023 · 2 comments · Fixed by wso2/carbon-apimgt#12183

Comments

@NishanthiWi
Copy link

Description

'Description' attribute is retrieved as null in the response of the get all api-products rest API which is exposed in the publisher portal even the description was configured.

https://apim.docs.wso2.com/en/latest/reference/product-apis/publisher-apis/publisher-v4/publisher-v4/#tag/API-Products/operation/getAllAPIProducts

Here is a sample response
{
"id": "7c1a03ff-5bac-4cc0-8ad4-a5f05de39087",
"name": "TestAPIProduct",
"context": "/test-product",
"description": null,
"provider": "admin",
"hasThumbnail": false,
"state": "PUBLISHED",
"securityScheme": [
"oauth2",
"oauth_basic_auth_api_key_mandatory"
],
"gatewayVendor": null
}

As per the documentation 'description' is there as a response attribute

Steps to Reproduce

  1. Create API-Product with description
  2. Invoke the search API-Product endpoint
  3. Check the response

Affected Component

APIM

Version

4.2.0.44

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@YasasRangika
Copy link

YasasRangika commented Jan 15, 2024

merge public fix: wso2/carbon-apimgt#12183 to the master.

@HiranyaKavishani
Copy link

Close the issue as per above commit

@npamudika npamudika added the 4.3.0-M1 4.3.0 M1 Milestone label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants