P0: fix doc:// -> docs:// across standards src/server/registry and regenerate stale mongo-ops bundle. P1: build recipe + spec-first routing now document the openapi-first codegen fast path (models/routes with --inject-request/--package). P4: CRUD template documents the model-vs-document id rule (BaseDocument owns id). P5: authless guidance (omit security keys). P6: template gains generic infra (http_cache, keyed SSE bus, KV port+in-memory+Redis), interfaces/openapi.py + .dockerignore + generic build test registered as components, and a get_app_template tool; genericity matrix marks LLM pool + human-in-loop as reference-app patterns. P7: intake/build/start_app/trial prompts. P8: template ships tests/integration/test_openapi_app_builds.py. Rebuilt standards + openapi-first bundles and re-collected.
37 lines
1.7 KiB
JSON
37 lines
1.7 KiB
JSON
{
|
|
"module": "openapi_first.cli",
|
|
"content": {
|
|
"path": "openapi_first.cli",
|
|
"docstring": "# Summary\n\nCommand-line interface for FastAPI OpenAPI-first scaffolding utilities.\n\nThis CLI bootstraps OpenAPI-first FastAPI applications from versioned,\nbundled templates packaged with the library.",
|
|
"objects": {
|
|
"DEFAULT_TEMPLATE": {
|
|
"name": "DEFAULT_TEMPLATE",
|
|
"kind": "attribute",
|
|
"path": "openapi_first.cli.DEFAULT_TEMPLATE",
|
|
"signature": null,
|
|
"docstring": null
|
|
},
|
|
"available_templates": {
|
|
"name": "available_templates",
|
|
"kind": "function",
|
|
"path": "openapi_first.cli.available_templates",
|
|
"signature": "available_templates() -> list[str]",
|
|
"docstring": "Return a list of available application templates.\n\nReturns:\n list[str]:\n Sorted list of template names found in the internal templates directory."
|
|
},
|
|
"copy_template": {
|
|
"name": "copy_template",
|
|
"kind": "function",
|
|
"path": "openapi_first.cli.copy_template",
|
|
"signature": "copy_template(template: str, target_dir: Path) -> None",
|
|
"docstring": "Copy a bundled OpenAPI-first application template into a directory.\n\nArgs:\n template (str):\n Name of the template to copy.\n target_dir (Path):\n Filesystem path where the template should be copied.\n\nRaises:\n FileNotFoundError:\n If the requested template does not exist."
|
|
},
|
|
"main": {
|
|
"name": "main",
|
|
"kind": "function",
|
|
"path": "openapi_first.cli.main",
|
|
"signature": "main() -> None",
|
|
"docstring": null
|
|
}
|
|
}
|
|
}
|
|
} |