Template error using apitome gem

124 Views Asked by At

I am using rspec_api_documentation and apitome to generate api documentation. When I view the apitome output in the browser, there is a link entitled 'Simulated Response'. When I click on this, I get the following error:

Missing template apitome/docs/simulate

What does 'Simulated Response' do, and how do I fix this problem?

1

There are 1 best solutions below

0
On BEST ANSWER

Based on this issue the rubygem is several years out of date, so use a more recent release e.g.

#Gemfile
gem 'apitome', git: 'https://github.com/jejacks0n/apitome.git', ref: '8fbf5aa'

The Simulated response appears to reveal an unformatted response body.