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

Support SwaggerUI configuration reload after ocelot.json change #225

Merged
merged 2 commits into from
Mar 23, 2022

Conversation

Burgyn
Copy link
Owner

@Burgyn Burgyn commented Mar 23, 2022

close #224

When you mark the ocelot.json configuration as reloadOnChange:true

.AddJsonFile($"ocelot.json", optional: false, reloadOnChange: true)

then the swagger specification will reflect changes to this file without having to restart the Ocelot service.

@request-info
Copy link

request-info bot commented Mar 23, 2022

We would appreciate it if you could provide us with more info about this issue/pr!

@update-docs
Copy link

update-docs bot commented Mar 23, 2022

Thanks for opening this pull request! If you have implemented new functions, write about them in the readme file.

@request-info request-info bot added the needs-more-info Autor needs more info label Mar 23, 2022
@Burgyn Burgyn added the enhancement New feature or request label Mar 23, 2022
@Burgyn Burgyn merged commit 84812d7 into master Mar 23, 2022
@delete-merged-branch delete-merged-branch bot deleted the reloadAfterConfigChange branch March 23, 2022 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-more-info Autor needs more info
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refresh Swagger specification when making use of the hot-reload functionality of Ocelot
1 participant