Questions tagged [apipie]

17 questions
0
votes
0 answers

Rails: How to create documentation of create api with query params using Apipie gem

I am using Apipie gem for documentation. I have created all the documentation which are basics but I am stuck in one api which is create api but finding the contact with query params. The code is below def create @account = Account.find_by(name:…
0
votes
3 answers

Apipie receiving integer param as String

I have the following RSpec test: it 'should not list alerts, since I do not have access to this model' do get :index, params: { model_id: @model2.id, workspace_id: @workspace.id }, as: :json expect(response).to have_http_status(:forbidden) …
Luiz E.
  • 6,769
  • 10
  • 58
  • 98
1
2