You can add a predefined JSON response by entering "json(:resource_name)" in the docstring. This will then be replaced with the resource with the same name, found in lib/travis/api/app/endpoint/documentation/resources.rb.