Refactor OpenAPI fetcher for improved clarity and robustness

Reorganized and enhanced the OpenAPI fetch logic for better maintainability and error handling. Key updates include improved environment variable validation, more detailed error messages, streamlined configuration loading, and additional safety checks for file paths and directories. Added proper logging and ensured the process flow is easy to trace.
This commit is contained in:
GotthardG
2024-12-18 07:57:51 +01:00
parent bd63dc3c91
commit 7727467e29
2 changed files with 10 additions and 8 deletions

View File

@ -9,7 +9,8 @@
"lint": "eslint .",
"preview": "vite preview",
"start-dev": "vite --mode dev",
"start-test": "vite --mode test"
"start-test": "vite --mode test",
"start-prod": "vite --mode prod"
},
"dependencies": {
"@emotion/react": "^11.13.3",