I have a customer who is expecting the json objects in the response to contain a label like the following:
I'm using Swagger 2.0. How do I assign "Test" to the object in the yaml file?
By defintion, you can't - that's not a valid JSON.
The most you can do is something like:
Actually that's what I think I want. How would you define that within the Swagger 2.0 components?
Do you have anything as a starting point?