Let me know someone way to output header name
I wrote response the following code,
responses={
st.HTTP_200_OK: {
"model": main_response_data,
"description": "main response data",
"headers": [{"header_name":"response_key", "description": "Response key", "type": "string"}]
},
But after run, OpenAPI document output "0" at header name
headers
Name Description Type
------------------------------------------
0 Response key string