chore: enhance OpenAPI schema management

- Introduced a new script to fix OpenAPI schema issues, including adding a missing Authorization security scheme and addressing empty response schemas.
- Updated the build process to run this script before generating documentation, ensuring a more robust and accurate OpenAPI specification.
This commit is contained in:
Mauricio Siu
2025-11-30 01:37:01 -06:00
parent 213254dd1d
commit d278e4e95d
3 changed files with 2371 additions and 384 deletions

View File

@@ -7,7 +7,8 @@
"dev": "TURBOPACK=1 next dev",
"start": "next start",
"postinstall": "fumadocs-mdx",
"build:docs": "node generate-docs.mjs",
"fix-openapi": "node scripts/fix-openapi.mjs",
"build:docs": "npm run fix-openapi && node generate-docs.mjs",
"typecheck": "tsc --noEmit"
},
"dependencies": {