Closed PanosCodes closed 4 months ago
Is there anyway to use array_of: DescriptionObject
that uses the https://github.com/Apipie/apipie-rails?tab=readme-ov-file#embedded-response-descriptions inside the returns
block?
You can delete this line 😅 https://github.com/Apipie/apipie-rails/blob/f300fcc27c7805bcce54b6e02d147bd15931ab12/lib/apipie/dsl_definition.rb#L436.
I'm not sure why it exists, there are no failing tests if it's removed 🤔
You can delete this line 😅
. I'm not sure why it exists, there are no failing tests if it's removed 🤔
Hehe, that would be nice!
@mathieujobin Any chance to get this merged?
Sorry for the delay here
No worries, thank you!
Why
To define custom response headers https://github.com/Apipie/apipie-rails/issues/706
How
Extend the
Apipie::ResponseDescription::ResponseObject
with a header methodExample