Cat Feeder  1.0.0
The Cat feeder project
Loading...
Searching...
No Matches
redoc_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: redoc_constants.py
14# CREATION DATE: 26-11-2025
15# LAST Modified: 14:45:35 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: The constants used in the redoc class.
21# // AR
22# +==== END CatFeeder =================+
23"""
24
25from .. import docs_constants as DOCS_CONST
26
27# ReDoc configuration
28REDOC_URL: str = "/redoc"
29
30# Re-export from docs_constants for backward compatibility
31OPENAPI_URL: str = DOCS_CONST.OPENAPI_URL
32API_TITLE: str = DOCS_CONST.OPENAPI_TITLE
33API_VERSION: str = DOCS_CONST.OPENAPI_VERSION
34API_DESCRIPTION: str = DOCS_CONST.OPENAPI_DESCRIPTION
35
36# ReDoc options
37REDOC_OPTIONS: dict = {
38 "disableSearch": False,
39 "expandResponses": "200,201",
40 "hideDownloadButton": False,
41 "hideHostname": False,
42 "hideSingleRequestSampleTab": False,
43 "jsonSampleExpandLevel": 2,
44 "menuToggle": True,
45 "nativeScrollbars": False,
46 "noAutoAuth": False,
47 "pathInMiddlePanel": False,
48 "requiredPropsFirst": True,
49 "scrollYOffset": 0,
50 "sortPropsAlphabetically": True,
51 "theme": {
52 "colors": {
53 "primary": {
54 "main": "#32329f"
55 }
56 },
57 "typography": {
58 "fontSize": "14px",
59 "fontFamily": "Arial, sans-serif",
60 "headings": {
61 "fontFamily": "Arial, sans-serif"
62 }
63 }
64 }
65}
66
67# Re-export from docs_constants for backward compatibility
68TAGS_METADATA: list = DOCS_CONST.TAGS_METADATA
69CONTACT_INFO: dict = DOCS_CONST.CONTACT_INFO
70LICENSE_INFO: dict = DOCS_CONST.LICENSE_INFO
71SERVERS: list = DOCS_CONST.SERVERS