Questions tagged [apitome]

5 questions
1
vote
1 answer

Rspec api documentation + apitome request body in json format

I am using rspec api documentation, apitome and oauth2 protocol to build acceptance test to our api. Everything works great with one exception that the request body shown as below: What I noticed from the generated doc above: Content-Type:…
channa ly
  • 9,479
  • 14
  • 53
  • 86
0
votes
1 answer

Apitome sidebar disappears when included in a layout

I am using the rspec_api_documentation and apitome gems in a version 5.2 ruby on rails app. This produces excellent documentation, and has a sidebar (div#sidebar) to allow quick access to the correct part of the documentation. When I choose the…
Obromios
  • 15,408
  • 15
  • 72
  • 127
0
votes
1 answer

Template error using apitome gem

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…
Obromios
  • 15,408
  • 15
  • 72
  • 127
0
votes
1 answer

uninitialized constant RspecApiDocumentation using apitome

When following the instructions for setting up aptitome with rspec_api_documentation, I receive the following error: uninitialized constant RspecApiDocumentation How do I fix this?
Obromios
  • 15,408
  • 15
  • 72
  • 127
-1
votes
0 answers

SimpleCov failed with exit 1 + google-protobuf

Hi, i'm working on project which has ruby version 2.4.6 and rails version 5.0.2, iv'e implemented rspec_api_documentation and apitome gem for api documentation. I wrote all the test cases and when i run it with simple rspec…