Files
openapi-first/openapi_first/templates/health_app/main.py
Vishesh 'ironeagle' Bangotra 571a11a1c7 feat(cli): add bundled health app scaffold and init command
- ship OpenAPI-first health check template as package data
- add CLI to copy scaffold into new project directories
- include OpenAPI spec, routes, and bootstrap example
- enable fast startup for OpenAPI-first services
2026-01-10 17:39:33 +05:30

9 lines
179 B
Python

from openapi_first.app import OpenAPIFirstApp
import routes
app = OpenAPIFirstApp(
openapi_path="openapi.yaml",
routes_module=routes,
title="Health Check Service",
)