Skip to content

Commit 49a0173

Browse files
authored
Merge pull request #295 from myabc/patch-2
Make SlateWriter output cURL cmd in separate tab
2 parents 78f0258 + 15c8e63 commit 49a0173

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/rspec_api_documentation/writers/slate_writer.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def write
2525
file.write %Q{title: "#{configuration.api_name}"\n}
2626
file.write %Q{language_tabs:\n}
2727
file.write %Q{ - json: JSON\n}
28+
file.write %Q{ - shell: cURL\n}
2829
file.write %Q{---\n\n}
2930

3031
IndexHelper.sections(index.examples, @configuration).each do |section|

0 commit comments

Comments
 (0)