Forum Discussion

gajendrabisht's avatar
gajendrabisht
New Contributor
2 years ago

Edit Field Default Data type

I want to show the default value of field "id" from 0 to "number" in default example on swagger UI. How can i do that?

 

 

 

3 Replies

  • I want to show the value of field "id" to be "number" same as displayed for field "name" : "string" in default example on swagger UI. How can i do that?

    Desired Output: 
    {

     "id" : "number",

     "category": {

       "id" : "number",

       "name" : "string"

     }

    }