-
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.
Answered by
sunli829
Jun 13, 2022
Replies: 3 comments
-
You are looking for it? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Do it like this: poem/poem-openapi/tests/response.rs Line 104 in 3bd9ee7 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stdlout
-
D'oh! That makes sense I should have tried that. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do it like this:
poem/poem-openapi/tests/response.rs
Line 104 in 3bd9ee7