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

Sends null for XML and SOAP payloads #235

Closed natesh245 closed 9 months ago

natesh245 commented 9 months ago

Trying a xml or SOAP api from the api doc sends a null in the request payload

natesh245 commented 9 months ago

XML and SOAP request payloads are not supported. The Api doc sends null body in the request

shishir-intelli commented 9 months ago

@natesh245 , Could you share us the steps to reproduce this issue.

natesh245 commented 9 months ago

@shishir-intelli we have defined a example request body for a soap api. It is showing up in swagger ui and is working as expected. In Drupal api doc this example soap payload is not showing and it is taking it as null when we invoke the api

natesh245 commented 9 months ago

@shishir-intelli we also have another api where we are sending a xml payload in the request url. This payload is not showing up in drupal api doc, but the same is working in swagger ui

shishir-intelli commented 9 months ago

Yes correct. In Drupal, currently Smartdocs is used for API documentation solutions and there are few known issues. As of now, we do not have ETA to fix this issue.

I would suggest you install and use Swagger UI for API documentation in Drupal,

natesh245 commented 9 months ago

Yes correct. In Drupal, currently Smartdocs is used for API documentation solutions and there are few known issues. As of now, we do not have ETA to fix this issue.

I would suggest you install and use Swagger UI for API documentation in Drupal,

@shishir-intelli thanks for the suggestion. We will try it out

shishir-intelli commented 9 months ago

Closing this issue, Feel free to reopen for any further help.