Forum Discussion

kephakhang's avatar
kephakhang
Occasional Visitor
4 years ago

Swagger springfox 2.9.2 with pre-request-scripts like postmon's

My springboot works fine with swagger springfox 2.92.

I can see swagger-ui.html well.

Then I need to set pre-request-scripts for authentication headers like timestamp nonce.

Can I apply pre-request-script into swagger springfox for automatic assigning value to a header?

 

We used pre-request-srcipsts in postmon, so I need to apply it to my springboot project with swagger springfox.

 

Thank you in advance.

No RepliesBe the first to reply