@cubocicloide/stack-react-fastapi 13.1.0 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/templates/base/CLAUDE.md.hbs +14 -1
- package/templates/base/README.md.hbs +2 -2
- package/templates/base/backend/app/core/api_docs.py.hbs +182 -0
- package/templates/base/backend/app/main.py.hbs +22 -3
- package/templates/base/backend/app/routers/health.py +10 -2
- package/templates/base/backend/pyproject.toml.hbs +4 -0
- package/templates/base/docs/docs/dude.md.hbs +2 -2
- package/templates/base/docs/docs/index.md.hbs +2 -1
- package/templates/base/frontend/src/openapi/utils/openapi.yaml.hbs +6 -4
- package/templates/postgres/backend/app/routers/users.py +10 -2
- package/templates/postgres/backend/app/routers/users__id.py +10 -2
package/dist/index.js
CHANGED
|
@@ -3365,8 +3365,9 @@ var src_default = defineStack({
|
|
|
3365
3365
|
ctx.logger.info(" Endpoints:");
|
|
3366
3366
|
ctx.logger.info(" Frontend: http://localhost:5173");
|
|
3367
3367
|
ctx.logger.info(" Backend: http://localhost:8000/api/health");
|
|
3368
|
+
ctx.logger.info(" API docs: http://localhost:8000/api/docs (Scalar reference)");
|
|
3368
3369
|
if (withPostgres) {
|
|
3369
|
-
ctx.logger.info(" Users: http://localhost:8000/api/users
|
|
3370
|
+
ctx.logger.info(" Users: http://localhost:8000/api/users");
|
|
3370
3371
|
}
|
|
3371
3372
|
if (withIac) {
|
|
3372
3373
|
ctx.logger.info("");
|