Using spring boot swagger2 to add token, to header cannot be received by the backend

1. When using swagger2 to add token, the token passed in the swagger2 page cannot be received in the background.
2 and swagger2 are configured as follows:

clipboard.png

3swagger:

clipboard.png

4:

clipboard.png
5header:

clipboard.png

if there is a problem with the swagger2 configuration, please correct it!

Mar.18,2021

Brother solved it? I also encountered the same problem


Brother, I also encountered this problem, how did you solve it?


add a @ RequestHeader annotation

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c556-2b850.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c556-2b850.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?