Expose response headers in `DocService`
A response body is exposed in DocService but response headers are not. Since some APIs convey important information through response headers, exposing them in the debug console would be useful.
Hi, I’m interested in contributing to the DocService in Armeria. Can I take on this issue?
Sure, it's all yours.
Hi, I’ve been exploring the /docs page generated by DocService, and I noticed that when I send a request via the debug UI, only the response body is shown and response headers are not visible.
I’m just curious:
Does ‘expose headers’ means example headers defined by the developer when registering the service should be shown instead?
or it means Actual response headers returned alongside the response body? (debug console)
if it is actual response header, we are already handling HTTP response but not showing headers. so i I assume a small modification could make this work.
I’d love to contribute and clarify this behavior thanks in advance for your guidance!