I am trying to generate Rest api documentation using apidoc.js. Everything working perfect except the "required" marking not showing in documentation. like below
I have change template setting showRequiredLabels
to true
as per the documentation. But in my case its generating some thing like below.
This is my apidoc.json looks like
{
"name": "Sample API",
"version": "1.0.0",
"description": "Sample API Documentation",
"url" : "https://sampleapi.com/v1",
"template": {
"showRequiredLabels": true,
"withCompare": true,
"withGenerator": true,
"aloneDisplay": false
}
}
Anyone please help me to find out if I'm missed anything.