apigee / apigee-api-catalog-drupal

Manage your API catalog within Drupal's content management approach
https://www.drupal.org/project/apigee_api_catalog
GNU General Public License v2.0
17 stars 16 forks source link

Spec Files Request Body not Rendering #217

Open cemer1215 opened 1 year ago

cemer1215 commented 1 year ago

Background: we are using the apigee-devportal-kickstart-drupal project to create a developer portal for Apigee X. The out of the box functionality of the API Catalog is being used to display our specifications.

The API catalog does not seem to render the 'Request body' section of Try this API for any other type except application/json. When viewing anything else the entire section of the body is missing from the display. This is for Open API 3.0

Here is the type application/xml not showing image

For comparison, application/json which displays image

Additional types that were tested and do not show include: application/x-www-form-urlencoded and text/plain

shishir-intelli commented 1 year ago

Hi @cemer1215 Currently Smartdocs is used for API documentation solutions and there are few known issues related to form-data and x-www-urlencoded mime-type support. As of now, we do not have ETA to fix this issue.

I would suggest you check out Swagger UI for API documentation,