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

Swagger UI preview only refreshes for first open project #309

Open
pmorch opened this issue May 18, 2020 · 0 comments
Open

Swagger UI preview only refreshes for first open project #309

pmorch opened this issue May 18, 2020 · 0 comments

Comments

@pmorch
Copy link

pmorch commented May 18, 2020

If I open one Intellij project with a openapi.yaml file in it, and then open a preview by clicking on one of the browser icons, the preview is shown. If I edit the yaml file and refresh the browser, an updated preview is shown.

If I then leave this project open, but also open a second project, and open a same or different openapi2.yaml from that project and hit the preview browser button, a second preview browser tab is shown. However, changes made to the openapi2.yaml source in the second project do not cause the preview to be updated, when refreshing the browser. Clicking the preview button again, opens a third browser tab, that reflects the updated openapi2.yaml contents, but neither the second or third tab show new contents when openapi2.yaml is modified and the tab is refreshed.

The first project and tab continue to work.

If I now close the first project then the second project, and re-open Intellij, the second project is opened automatically as the only open project. Now it is the second project that "works". Open the former first project again, and it doesn't work.

IntelliJ IDEA 2020.1.1 (Ultimate Edition)
Build #IU-201.7223.91, built on April 30, 2020
Licensed to XXXX / Peter Valdemar Mørch
Subscription is active until August 30, 2020
Runtime version: 11.0.6+8-b765.40 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Non-Bundled Plugins: org.jetbrains.kotlin, io.ktor.intellij.plugin, org.zalando.intellij.swagger

Swagger version 1.0.28

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

No branches or pull requests

1 participant