text: Title: How do I programmatically access the sample requests from the generated swagger UI
  Body: **Ask a question**
  For a given restx application, I can see a rich set of details contained in the generated Swagger UI, for example for each endpoint, I can see sample requests populated with default values from the restx `fields` I created to serve as the components when defining the endpoints. These show up as example `curl` commands that I can copy/paste into a shell (as well as being executed from the 'Try it out' button).
  
  However, I want to access this data programmatically from the app client itself. Suppose I load and run the app in a standalone Python program and have a handle to the Flask `app` object. I can see attributes such as `api.application.blueprints['restx_doc']` to get a handle to the `Apidoc` object.
  
  But I cannot find out where this object stores all the information I need to programmatically reconstruct valid requests to the service's endpoint.
  
  
  