Hello, I try to make use of the 'Embedded response descriptions' but it is not showing the actual parameters, only this:
I tried the dummy project as well and I see the same problem:
This is what I have in the controller:
returns :array_of => Comment
And this is what I have in the Comment class:
def self.describe_own_properties
[
Apipie::prop(:id, Integer, {:description => 'The id of the comment', :required => false}),
Apipie::prop(:content, String, {:description => 'The content of the comment', :required => false}),
]
end
Do you know what can be the problem? Thank you in advance!
Hello, I try to make use of the 'Embedded response descriptions' but it is not showing the actual parameters, only this:
I tried the dummy project as well and I see the same problem:
This is what I have in the controller:
And this is what I have in the
Comment
class:Do you know what can be the problem? Thank you in advance!