You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have a server that retrieves an Open API from somewhere else. How do I enable the Authorize button in Swagger UI? All I need is to be able to pass a JWT as an Authorization request header
Here's an MRE. Stapi is completely open, but let's imagine that it's actually some microservice and the Swagger UI server is a gateway (which is the case). It's even called "Gateway" even though it actually isn't. Also, keep in mind that the Open API for Stapi that I found is apparently stale. You won't be able to actually hit any of those endpoints (even from your browser)
That said, I'm open to suggestions involving editing the source code of the server that supplies API documentation (I have write access to the actual microservice)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Suppose I have a server that retrieves an Open API from somewhere else. How do I enable the Authorize button in Swagger UI? All I need is to be able to pass a JWT as an
Authorization
request headerHere's an MRE. Stapi is completely open, but let's imagine that it's actually some microservice and the Swagger UI server is a gateway (which is the case). It's even called "Gateway" even though it actually isn't. Also, keep in mind that the Open API for Stapi that I found is apparently stale. You won't be able to actually hit any of those endpoints (even from your browser)
That said, I'm open to suggestions involving editing the source code of the server that supplies API documentation (I have write access to the actual microservice)
Hit
http://localhost:8080/swagger-ui
and you should be able to see this. NoAuthorize
button. I want itBeta Was this translation helpful? Give feedback.
All reactions