Skip to content

Autogenerated documentation

Beth Skurrie edited this page Feb 10, 2015 · 7 revisions

To generate markdown documentation from the pact files, in the pact_helper.rb file in the consumer project configure:

Pact.configure do | config |
  config.doc_generator = :markdown
  config.doc_dir = "..." # optional, defaults to "./doc/pacts" 
end

Clone this wiki locally