- collect.py: copy repo MCP bundles to ROOT/<name>/mcp (instead of ROOT/mcp/<name>); add nginx location guard to deny /<name>/mcp/ - config.py: bundle roots now point to <repo>/mcp and standards/mcp for static bundles - Rename core.py -> mcp_server.py and update imports in main.py and registry.py - Dockerfile: per-repo MCP COPYs under /app/<name>/mcp, drop blog copy; add ports 8008/8009 in .drone.yml - Restore standards/mcp/libraries.json from git for registry server
16 lines
1.3 KiB
JSON
16 lines
1.3 KiB
JSON
{
|
|
"module": "openapi_first.templates.health_app.routes",
|
|
"content": {
|
|
"path": "openapi_first.templates.health_app.routes",
|
|
"docstring": "OpenAPI operation handlers.\n\nThis module defines pure Python callables that implement OpenAPI\noperations for this service. Functions in this module are bound to HTTP\nroutes exclusively via OpenAPI ``operationId`` values.\n\nNo routing decorators, HTTP metadata, or framework-specific logic\nshould appear here. All request/response semantics are defined in the\nOpenAPI specification.\n\nThis module serves solely as an operationId namespace.",
|
|
"objects": {
|
|
"get_health": {
|
|
"name": "get_health",
|
|
"kind": "function",
|
|
"path": "openapi_first.templates.health_app.routes.get_health",
|
|
"signature": "<bound method Function.signature of Function('get_health', 16, 32)>",
|
|
"docstring": "Health check operation handler.\n\nThis function implements the OpenAPI operation identified by\n``operationId: get_health``.\n\nIt contains no routing metadata or framework-specific logic.\nRequest binding, HTTP method, and response semantics are defined\nexclusively by the OpenAPI specification.\n\nReturns\n-------\ndict\n A minimal liveness payload indicating service health."
|
|
}
|
|
}
|
|
}
|
|
} |