When i develop swagger file. it's display all the detail. in one of the request schema body https://editor.swagger.io display required parameter with red asterisk (*) symbol. where as in Developer portal it doesn't display neither sign nor text saying "required: TRUE"
Is this feasible to achieve from Dev portal..?
Hi @jaywant
On SmartDocs Creation there are different way which are following below:
importing WADL file, importing Swagger file OR creating new method it always show the required on
Mandatory parameter But you can change this by editing the template method of SmartDocs's Model.
Hi @AbdulRehman I agree with you, i was thinking in a similar way.
Is there any specific parameter that i need to pass in swagger file to make a field display look like mandatory(Required or Red color * mark)...?
parameters: - name: username in: header description: Provide username required: false type: string enum: - application/json - application/xml - name: password in: query description: Provide password. required: true type: string - name: category in: query description: Provide category. required: true type: string enum: - searchduration
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |