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.

Steps to Reproduce
Steps to reproduce the behavior:
- Go to any Product API Swagger spec page
- Goto "Try this API Section"
- Click on "+" icon,
Actual Behavior
Nothing happening, and an error in browser console

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