The default layout for the API documents pages created by SmartDocs only conveys some of the information for the API.
I want to be able to extract more data, essentially getting more variables from the “body” variable provided by the smardocs.hbr template.
As stated in the smartdocs.hbr file:
- body: An object of attributes relating to the method body:
- contentType: The allowed Content-Type values of the body.
- parameters: An array of body parameters, will be populated with values
from OpenAPI (Swagger) 2.0 "in": "formData" parameters.
If possible, I would like to find the source of the javascript object so I can add extra functionality and parameters to pass.
Also I’m new to Handlebar and cannot find any online documentation on these if-statements
{{#if-query-param this.parameters}}
I cannot find this function anywhere either online or searching in my git repository.
Any gurus know where the handlebar definition is?
Thanks