mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 17:26:10 -06:00
12288 add servers to spectacular settings
This commit is contained in:
parent
b84ac184c2
commit
fc7983e494
@ -586,9 +586,10 @@ SPECTACULAR_SETTINGS = {
|
|||||||
"LICENSE": {"name": "Apache v2 License"},
|
"LICENSE": {"name": "Apache v2 License"},
|
||||||
"VERSION": VERSION,
|
"VERSION": VERSION,
|
||||||
'COMPONENT_SPLIT_REQUEST': True,
|
'COMPONENT_SPLIT_REQUEST': True,
|
||||||
|
'REDOC_DIST': 'SIDECAR',
|
||||||
|
"SERVERS": [{"url": "/api"}, ],
|
||||||
'SWAGGER_UI_DIST': 'SIDECAR',
|
'SWAGGER_UI_DIST': 'SIDECAR',
|
||||||
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
|
'SWAGGER_UI_FAVICON_HREF': 'SIDECAR',
|
||||||
'REDOC_DIST': 'SIDECAR',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user