feat(templates): add OpenAPI-first CRUD app scaffold with mock data

- include CRUD OpenAPI spec
- add in-memory mock data store
- implement OpenAPI-bound route handlers
- provide runnable FastAPI bootstrap
- include end-to-end integration test
This commit is contained in:
2026-01-10 17:59:11 +05:30
parent 2f444a93ad
commit 2ac342240b
5 changed files with 311 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
from openapi_first.app import OpenAPIFirstApp
import routes
app = OpenAPIFirstApp(
openapi_path="openapi.yaml",
routes_module=routes,
title="CRUD Example Service",
)