This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /spec/support/documentation/after_rspec_example.rb | |
# Normally, we'd want to break into multiple files, but then it becomes more to install (unless gemified) | |
module SomeApp | |
module Documentation | |
class AfterRspecExample | |
def self.apply!(context, example, response) | |
SwaggerExample::Request.apply!(context, example, response) | |
SwaggerExample::Response.apply!(context, example, response) | |
end |