- add config.yml as single source of truth for collected repos/categories - add collect.py CLI to pull lib/api/wiki site builds and mcp bundles from source repos and regenerate nginx.conf + _index/index.html - port mcp runtime (main.py/core.py/config.py): nginx + health + FastMCP servers started from config.yml - docker: python:3.13-slim + nginx, expose 8000-8006 + 9000 (html portal) - drone: publish html (6007:9000) and MCP ports 8000-8006 - move mongo-ops docs to wiki/, add auth-server (api) and hexa (lib) - refresh lib site builds (lib/ prefix) and collect mcp bundles
62 lines
2.8 KiB
JSON
62 lines
2.8 KiB
JSON
{
|
|
"module": "openapi_first.templates.model_app.models",
|
|
"content": {
|
|
"path": "openapi_first.templates.model_app.models",
|
|
"docstring": "Pydantic domain models for the CRUD example.\n\nThis module defines Pydantic models that represent the domain entities\nused by the service. These models are referenced by the OpenAPI\nspecification for request and response schemas.\n\nThe models are declarative and framework-agnostic. They contain no\npersistence logic, validation beyond type constraints, or business\nbehavior.\n\nThis module is not part of the ``openapi_first`` library API surface.\nIt exists solely to support the example application template.",
|
|
"objects": {
|
|
"BaseModel": {
|
|
"name": "BaseModel",
|
|
"kind": "alias",
|
|
"path": "openapi_first.templates.model_app.models.BaseModel",
|
|
"signature": "<bound method Alias.signature of Alias('BaseModel', 'pydantic.BaseModel')>",
|
|
"docstring": null
|
|
},
|
|
"ItemBase": {
|
|
"name": "ItemBase",
|
|
"kind": "class",
|
|
"path": "openapi_first.templates.model_app.models.ItemBase",
|
|
"signature": "<bound method Class.signature of Class('ItemBase', 19, 27)>",
|
|
"docstring": "Base domain model for an item.\n\nDefines fields common to all item representations.",
|
|
"members": {
|
|
"name": {
|
|
"name": "name",
|
|
"kind": "attribute",
|
|
"path": "openapi_first.templates.model_app.models.ItemBase.name",
|
|
"signature": null,
|
|
"docstring": null
|
|
},
|
|
"price": {
|
|
"name": "price",
|
|
"kind": "attribute",
|
|
"path": "openapi_first.templates.model_app.models.ItemBase.price",
|
|
"signature": null,
|
|
"docstring": null
|
|
}
|
|
}
|
|
},
|
|
"ItemCreate": {
|
|
"name": "ItemCreate",
|
|
"kind": "class",
|
|
"path": "openapi_first.templates.model_app.models.ItemCreate",
|
|
"signature": "<bound method Class.signature of Class('ItemCreate', 30, 39)>",
|
|
"docstring": "Domain model for item creation requests.\n\nThis model is used for request bodies when creating new items.\nIt intentionally excludes the ``id`` field, which is assigned\nby the service."
|
|
},
|
|
"Item": {
|
|
"name": "Item",
|
|
"kind": "class",
|
|
"path": "openapi_first.templates.model_app.models.Item",
|
|
"signature": "<bound method Class.signature of Class('Item', 42, 50)>",
|
|
"docstring": "Domain model for a persisted item.\n\nThis model represents the full item state returned in responses,\nincluding the server-assigned identifier.",
|
|
"members": {
|
|
"id": {
|
|
"name": "id",
|
|
"kind": "attribute",
|
|
"path": "openapi_first.templates.model_app.models.Item.id",
|
|
"signature": null,
|
|
"docstring": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |