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

Sample request body in "Try this API" API Documentation section not getting auto-populated #146

Open
zycon opened this issue Dec 16, 2021 · 1 comment
Labels
enhancement New feature or request SmartDocs Issues related to the SmartDocs Angular app

Comments

@zycon
Copy link

zycon commented Dec 16, 2021

Request body in "Try this API" API documentation page is not auto-populating the sample record objects. Its working only when user types something, but not while clicking the "+" icon.
image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to any Product API Swagger spec page
  2. Goto "Try this API Section"
  3. Click on "+" icon,

Actual Behavior

Nothing happening, and an error in browser console
image

Expected Behavior

Object needs to be populated as in swagger spec

Version Info

PHP 7.4.26
Drupal core 9.3.0
Apigee Edge 2.0.1
Apigee API Catalog 8.x-2.6

@phdhiren phdhiren transferred this issue from apigee/apigee-devportal-kickstart-drupal Dec 16, 2021
@phdhiren phdhiren added SmartDocs Issues related to the SmartDocs Angular app enhancement New feature or request labels Dec 16, 2021
@phdhiren
Copy link
Collaborator

@zycon

The current UI formatter used is Smartdocs. I acknowledge the issue in that, However do not have ETA to fix this.

You can checkout other third party UI formatter for the field such as Swagger UI https://www.drupal.org/project/swagger_ui_formatter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SmartDocs Issues related to the SmartDocs Angular app
Projects
None yet
Development

No branches or pull requests

2 participants