You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class HomeController < ApplicationController
skip_before_action :verify_authenticity_token
api!
param :test_hash, Hash
def create
render status: :ok, json: { message: 'Hello, World!' }
end
end
this is my test code
i expect this message Apipie::ParamInvalid (Invalid parameter 'test_hash' value blank: Must be a Hash):
but error message was wrong Apipie::ParamInvalid (Invalid parameter 'test_hash' value nil: Must be a Hash):
The text was updated successfully, but these errors were encountered:
this is my test code
i expect this message
Apipie::ParamInvalid (Invalid parameter 'test_hash' value blank: Must be a Hash):
but error message was wrong
Apipie::ParamInvalid (Invalid parameter 'test_hash' value nil: Must be a Hash):
The text was updated successfully, but these errors were encountered: