xpublish.plugins.included.plugin_info.PluginInfoPlugin#

pydantic model xpublish.plugins.included.plugin_info.PluginInfoPlugin[source]#

Expose the currently loaded plugins and their versions.

Show JSON schema
{
   "title": "PluginInfoPlugin",
   "description": "Expose the currently loaded plugins and their versions.",
   "type": "object",
   "properties": {
      "name": {
         "title": "Name",
         "default": "plugin_info",
         "type": "string"
      },
      "app_router_prefix": {
         "title": "App Router Prefix",
         "default": "",
         "type": "string"
      },
      "app_router_tags": {
         "title": "App Router Tags",
         "default": [
            "plugin_info"
         ],
         "type": "array",
         "items": {
            "type": "string"
         }
      }
   }
}

Fields:
field app_router_prefix: str = ''#
field app_router_tags: Sequence[str] = ['plugin_info']#
field name: str = 'plugin_info'#
app_router(deps)[source]#

Returns the router for plugin info metadata.

Return type:

APIRouter