I have a sample github using springdoc : https://github.com/vmisra2018/sb-example-swaggerdoc and I can't figure out how can I enable X-Forwarded-For for any api eg:" /person " when i click try-it-out
To Reproduce Steps to reproduce the behavior:
version of spring-boot=> 2.2.2.RELEASE
modules and versions of springdoc-openapi =>springdoc-openapi-ui:1.2.32
I have below entry as per https://springdoc.org/faq.html and also defined ForwardedHeaderFilter bean,
server:
forward-headers-strategy: NATIVE
Sample code: https://github.com/vmisra2018/sb-example-swaggerdoc
Expected behavior I want to see X-Forwarded-For header when i click try-it-out in swagger-ui.html. I dont see it.