mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-13 19:18:16 -06:00
Improve ReDoc initial render time
This slightly improves the render time of ReDoc by reducing the initial load of visible elements.
This commit is contained in:
parent
2abfdc90a8
commit
69545199f8
@ -335,6 +335,8 @@ SWAGGER_SETTINGS = {
|
||||
}
|
||||
|
||||
REDOC_SETTINGS = {
|
||||
'EXPAND_RESPONSES': '',
|
||||
'NATIVE_SCROLLBARS': True,
|
||||
'SPEC_URL': reverse_lazy('schema_swagger', kwargs={'format': '.yaml'}),
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user