lib/calamum/runner.rb in calamum-1.0.0 vs lib/calamum/runner.rb in calamum-1.0.1
- old
+ new
@@ -59,10 +59,11 @@
Calamum::Config.merge!(config)
api_definition = load_definition_file
@definition = Calamum::DefinitionParser.new(api_definition)
@definition.load_requests
template = Calamum::DocGenerator.load_template
- html_output = Calamum::DocGenerator.new(template, @definition.resources, @definition.get_name, @definition.get_url)
+ html_output = Calamum::DocGenerator.new(template,
+ @definition.resources, @definition.get_name, @definition.get_url, @definition.get_description)
html_output.save_result(File.join(Calamum::Config[:path], 'doc', 'index.html'))
end
def load_definition_file
begin