Custom authentication parameters not shown in swagger doc

I am trying to set up a REST service with custom authentication using bearer tokens. I have added the token as a header parameter to be used by the authentication microflow but this parameter does not show up in the swagger doc. Therefore the endpoint cannot be tested in the swagger doc (works fine with postman where I can add the Authorization header). Does anyone know how to get the custom authentication header parameters to show up in swagger doc?
1 answers

Hi Priit,

It seems that this issue was reported before, and seems there is some limitation on the Swagger UI: someone submitted an idea to improve it and do auto-generate for the headers if you want to support it by a vote: