Closed
Description
There're two microservices: Api Gateway (http://localhost:8080/) & User (http://localhost:8082/).
If you make a first request to swagger for User through Api Gateway: http://localhost:8080/user/ the config will be generated, but when you try to get User config from direct request to http://localhost:8082/ we can see Fail.
And also it's doesn't work vice versa:
if your first is a direct request without Api Gateway: http://localhost:8082/ then User config will be generated, but when you try to get User config through Api Gateway(http://localhost:8080/user/).
I think this can be fixed, for example, for each request we can generate configs, without caching.
But springdoc.cache.disabled doesn't help.