Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated server url computation not cleared #1748

Closed
antechrestos opened this issue Jul 21, 2022 · 1 comment · Fixed by #1749
Closed

Generated server url computation not cleared #1748

antechrestos opened this issue Jul 21, 2022 · 1 comment · Fixed by #1749

Comments

@antechrestos
Copy link

Similar to #1712 , server url automatically generated mixed with customizer that modifies automatically generated server list, when used with both direct and reversed proxy (say with different context time for the same runtime), we end with a first asked wins as, at first call, open api is built and

The last assumption is wrong as if it was not provided at first.

In the end we ends with a customized generated server put in cache.

@antechrestos
Copy link
Author

Moreover, if find that putting some data that are linked to the current call (generated url) as an attribute of a spring bean (singleton) is quite a source of trouble

antechrestos pushed a commit to antechrestos/springdoc-openapi that referenced this issue Jul 21, 2022
Update servers out of cache and do not set server as provided when they are modified by customizer. This way we can still have a generic customized server address

Close springdoc#1748
antechrestos pushed a commit to antechrestos/springdoc-openapi that referenced this issue Jul 21, 2022
Update servers out of cache and do not set server as provided when they are modified by customizer. This way we can still have a generic customized server address

Close springdoc#1748
antechrestos pushed a commit to antechrestos/springdoc-openapi that referenced this issue Jul 24, 2022
Update servers out of cache and do not set server as provided when they are modified by customizer. This way we can still have a generic customized server address

Close springdoc#1748
antechrestos pushed a commit to antechrestos/springdoc-openapi that referenced this issue Jul 24, 2022
Update servers out of cache and do not set server as provided when they are modified by customizer. This way we can still have a generic customized server address

Close springdoc#1748
antechrestos pushed a commit to antechrestos/springdoc-openapi that referenced this issue Jul 24, 2022
Update servers out of cache and do not set server as provided when they are modified by customizer. This way we can still have a generic customized server address

Close springdoc#1748
antechrestos pushed a commit to antechrestos/springdoc-openapi that referenced this issue Jul 24, 2022
Update servers out of cache and do not set server as provided when they are modified by customizer. This way we can still have a generic customized server address

Close springdoc#1748
antechrestos pushed a commit to antechrestos/springdoc-openapi that referenced this issue Jul 24, 2022
Update servers out of cache and do not set server as provided when they are modified by customizer. This way we can still have a generic customized server address

Close springdoc#1748
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant