Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
explorer_constants.py
Go to the documentation of this file.
1r"""
2# +==== BEGIN CatFeeder =================+
3# LOGO:
4# ..............(..../\
5# ...............)..(.')
6# ..............(../..)
7# ...............\‍(__)|
8# Inspired by Joan Stark
9# source https://www.asciiart.eu/
10# animals/cats
11# /STOP
12# PROJECT: CatFeeder
13# FILE: explorer_constants.py
14# CREATION DATE: 26-11-2025
15# LAST Modified: 14:44:40 19-12-2025
16# DESCRIPTION:
17# This is the backend server in charge of making the actual website work.
18# /STOP
19# COPYRIGHT: (c) Cat Feeder
20# PURPOSE: Constants for OpenAPI Explorer documentation provider.
21# // AR
22# +==== END CatFeeder =================+
23"""
24
25# OpenAPI Explorer configuration
26EXPLORER_URL: str = "/explorer"
27EXPLORER_CDN_VERSION: str = "5.10.5"
28EXPLORER_CDN_BASE: str = f"https://cdn.jsdelivr.net/npm/swagger-ui-dist@{EXPLORER_CDN_VERSION}"
29EXPLORER_CDN_CSS: str = f"{EXPLORER_CDN_BASE}/swagger-ui.css"
30EXPLORER_CDN_JS: str = f"{EXPLORER_CDN_BASE}/swagger-ui-bundle.js"
31EXPLORER_CDN_PRESET: str = f"{EXPLORER_CDN_BASE}/swagger-ui-standalone-preset.js"
32
33# Explorer configuration options
34EXPLORER_OPTIONS: dict = {
35 "deepLinking": True,
36 "displayOperationId": True,
37 "displayRequestDuration": True,
38 "filter": True,
39 "showExtensions": True,
40 "showCommonExtensions": True,
41 "tryItOutEnabled": True,
42 "persistAuthorization": True,
43 "layout": "BaseLayout",
44}