Ask a Question

Array/Object names not displayed for JSON in SwaggerHub/Swagger

Nixol
Occasional Contributor

Array/Object names not displayed for JSON in SwaggerHub/Swagger

Hi, can someone please me with this question:  How can I get the name of an Array/Object to show when I set parameter content type to "application/json" in Swagger/SwaggerHub?  Please see the screenshots for both XML and JSON formats:

 

  • JSON Screenshot:  names of array and object DO NOT show in both request and response
  • Nixol_0-1628781195460.png

     

  • XML Screenshot: names of array and object  show in both request and response
  • Nixol_1-1628781221373.png

     

Am I doing something wrong? Please help.

 

Thanks.

Nixol

cancel
Showing results for 
Search instead for 
Did you mean: