feat(scaffold): add model-backed CRUD service template
Provides a complete OpenAPI-first CRUD example with a Pydantic model layer, explicit runtime semantics, and integration tests to support developer onboarding and real-world service structure.
This commit is contained in:
8
openapi_first/templates/model_app/main.py
Normal file
8
openapi_first/templates/model_app/main.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from openapi_first.app import OpenAPIFirstApp
|
||||
import routes
|
||||
|
||||
app = OpenAPIFirstApp(
|
||||
openapi_path="openapi.yaml",
|
||||
routes_module=routes,
|
||||
title="Model CRUD Example Service",
|
||||
)
|
||||
Reference in New Issue
Block a user