- 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
9 lines
179 B
Python
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",
|
|
)
|