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

Fix REST API GET when markdown document is given as the description. #3526

Open
Arshardh opened this issue Jan 16, 2025 · 2 comments
Open

Fix REST API GET when markdown document is given as the description. #3526

Arshardh opened this issue Jan 16, 2025 · 2 comments

Comments

@Arshardh
Copy link

Current Limitation

API descriptions saved as markdown are stored as documents. When product APIs are used to fetch API metadata, the description text is returned as null.
This means it needs a minimum of three API calls to get the API description through the product APIs. This makes it very inefficient to fetch the API descriptions.

Suggested Improvement

We will have to modify the REST API and solve this limitation

Version

No response

@hisanhunais
Copy link

aqeel will work on this

@AqeelMuhammad
Copy link

Progress Update - 2025/01/17

  • In the Publisher Portal, created two APIs with two different description types; Text and Markdown.
  • Inspected the APIs called while updating the description and viewing the basic info of the APIs.
  • Imported the postman collection and checked the following resources in the debug mode.
    1. /apis/{{apiId}}
    2. /apis/{{apiId}}/documents
    3. /apis/{{apiId}}/documents/{{documentId}}
    4. /apis/{{apiId}}/documents/{{documentId}}/content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants