I'd like to add a button in the SmartDocs documentation that will auto-populate the required API parameters to simplify testing of the API.
How can I do it?
You could specify the "default" value for those attributes in your Swagger/OpenAPI specification. Those default values will be automatically populated on the SmartDocs page. Adding a button to "auto-populate" requires customizing Developer portal code (SmartDocs template).
It's easy, Just specify the default values using "default" key in openApi / swagger spec parameters definition.
See example smartdocs in action here & associated OpenApi / Swagger spec here. Also, You can manually update same using content edit option in developer portal as mentioned by @sudheendra@apigee.com .
Hope it helps. Keep us posted moving forward if any.