Add option to enable or disable swagger endpoints (#3502)

This commit is contained in:
Piotr Orzechowski authored and Lauris BH committed 2018-02-14 06:46:00 +02:00
1 parent 4c9d9c221a
commit b104ab3ca1
5 files changed
+15 -5

No files matched your search

+2
View File
@@ -553,6 +553,8 @@ DEFAULT_INTERVAL = 8h
MIN_INTERVAL = 10m
[api]
; Enables /api/swagger, /api/v1/swagger etc. endpoints. True or false; default is true.
ENABLE_SWAGGER_ENDPOINT = true
; Max number of items will response in a page
MAX_RESPONSE_ITEMS = 50