Hi,
I have a SmartDocs page for my API, but its response is quite big for a webbrowser. Therefore I have created a limit parameter in my API, and I want it to set at a default value of 10 for my smartdocs page.
I do see the default value in the documentation, but the value is more like a placeholder and not like a default value, since it is not passed to the API call at all..
Is there any solution for this? And I only want this to happen in my smartdocs, I dont want to add a default limit of 10 for my API call.
Thank you!
Solved! Go to Solution.
I fixed it by uploading a custom template file, where I changed:
{{#if required}} <input name="{{name}}" type="text" data-role="value" value="{{defaultValue}}"/> {{else}} <input name="{{name}}" type="text" data-role="value" value="{{defaultValue}}"/> {{/if}}
in the query parameters section.
I fixed it by uploading a custom template file, where I changed:
{{#if required}} <input name="{{name}}" type="text" data-role="value" value="{{defaultValue}}"/> {{else}} <input name="{{name}}" type="text" data-role="value" value="{{defaultValue}}"/> {{/if}}
in the query parameters section.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |