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
{{ message }}
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
After I restart the application I can access the "users" api and I can use it in swagger-ui.
When I then use another api like "persons" I don't see anything in swagger-ui.
When I switch back to the "users" api I don't see anything in swagger-ui.
When I restart the application I can see the first used API again.
The problem why I don't see anything in swagger-ui is because the paths field is empty.
I debugged the problem a bit and I think the problem is in ApiHelpController.getApiListing: clone.setPaths(clone.getPaths.filterKeys(_.startsWith(pathPart) ))
Here the existing paths are filtered and set to the clone.
When I access the "users" api I see that all 20 paths are filtered and 10 paths are left.
When I then access the "persons" api I see that the 10 paths are filtered and 0 paths are left.
So instead of changing a clone the cache is changed.
The text was updated successfully, but these errors were encountered:
Hi!
I have a problem when I want to filter my APIs by path.
/swagger.json?path=/rest/api/users
/swagger.json?path=/rest/api/persons
After I restart the application I can access the "users" api and I can use it in swagger-ui.
When I then use another api like "persons" I don't see anything in swagger-ui.
When I switch back to the "users" api I don't see anything in swagger-ui.
When I restart the application I can see the first used API again.
The problem why I don't see anything in swagger-ui is because the paths field is empty.
I debugged the problem a bit and I think the problem is in ApiHelpController.getApiListing:
clone.setPaths(clone.getPaths.filterKeys(_.startsWith(pathPart) ))
Here the existing paths are filtered and set to the clone.
When I access the "users" api I see that all 20 paths are filtered and 10 paths are left.
When I then access the "persons" api I see that the 10 paths are filtered and 0 paths are left.
So instead of changing a clone the cache is changed.
The text was updated successfully, but these errors were encountered: