dox icon indicating copy to clipboard operation
dox copied to clipboard

Issue #58 - Request sample Content-Type header

Open minazek opened this issue 4 years ago • 1 comments

Issue #58

Aim:

Content-Type header in request sample section needs to match request Content-Type

Solution:

  • Add rack gem dependancy because it is used in code
  • Use Content-Type instead Accept header in lib/dox/printers/example_request_printer.rb

minazek avatar Oct 18 '21 14:10 minazek

During setting app new app with dox, it was discovered that the rexml gem was removed as dependency from rubocop, and other gems that ends up in this error on CI:

LoadError:
  cannot load such file -- rexml/document

So to fix that issue for new apps we added dependency of rexml to the dox in d1cf196

Also, the ruby version was updated in 18c2010

akapronik avatar Sep 16 '24 10:09 akapronik