Forum Discussion

bbuzzard's avatar
bbuzzard
Occasional Contributor
6 years ago

How do I assign a label to the json object that is returned like "Test" in Test: { name: test1 }

I have a customer who is expecting the json objects in the response to contain a label like the following:   Test: {   name: test1   passed: false }   I'm using Swagger 2.0.  How do I a...