swagger-api / swagger-play

Apache License 2.0
330 stars 181 forks source link

disabling the listing cache #92

Closed baltendo closed 8 years ago

baltendo commented 8 years ago

The cache can be modified from outside like in ApiHelpController.getApiListing where the swagger paths are filtered. After doing that with different paths nothing is left and swagger-ui doesn't show anything.

Issue #91

fehguy commented 8 years ago

So, it doesn't make sense to just disable this functionality. For large definitions the computation can be slow.

If you want to disable the cache, consider submitting a configuration for disabling it rather than changing the behavior for all users.