-
Hi, I can't figure out how to add a description for a header that is set as part of a response. Is there a property of the oai macro where the header is declared, eg:
Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
You are looking for it? |
Beta Was this translation helpful? Give feedback.
-
Do it like this: poem/poem-openapi/tests/response.rs Line 104 in 3bd9ee7 |
Beta Was this translation helpful? Give feedback.
-
D'oh! That makes sense I should have tried that. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Do it like this:
poem/poem-openapi/tests/response.rs
Line 104 in 3bd9ee7