jshier
7 years agoOccasional Contributor
Custom Response Examples vs. ref examples
I have a spec that has several different calls that return the same type of object. However, we need the different calls to return the object with slightly different values (e.g. one status field). However, a ref + example field has a warning, and just an example by itself returns nothing, I'm guessing due to the fact that the response isn't otherwise defined. Is there any way to accomplish what I want here with defining different refs for each object with a particular value?