使用 apitome 的模板错误 gem

Template error using apitome gem

我正在使用 rspec_api_documentation and apitome 生成 api 文档。当我在浏览器中查看 apitome 输出时,有一个名为 'Simulated Response' 的 link。当我点击它时,出现以下错误:

Missing template apitome/docs/simulate

'Simulated Response' 有什么作用,我该如何解决这个问题?

基于此 issue ruby​​gem 已过时数年,因此请使用更新的版本,例如

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

模拟响应显示未格式化的响应主体。