Smart docs is not rendering content-type as a required filed

Hi Team,

We have a swagger file in the form of json which has a "consumes" tag as below -

"consumes": [
  "application/json; charset=utf-8"
]

We uploads these swagger file on the developer portal in a SmartDocs section.

1) Issue is SmartDocs is not rendering Content-Type header as a required field which is generated by tag "consumes" and rendering as below -

8595-screen-shot-2019-05-13-at-35421-pm.png

2) When I edit the generated code and make Content-Type as a mandatory field then its render Content-Type twice as below -

8597-screen-shot-2019-05-13-at-35611-pm.png

Can someone please help me, How to fix these issue as SmartDocs is not rendering Content-Type as a required field which was generated by tag "consumes"

0 0 75
0 REPLIES 0