ServerCreateRequest (schemas/server_api_schemas.py)

jarvis-registry · registry/src/registry/schemas/server_api_schemas.py · python · Apache-2.0
auth

Pydantic schemas for creating and managing MCP server configurations and API requests.

# Source: https://github.com/ascending-llc/jarvis-registry | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""
Pydantic Schemas for Server Management API v1

These schemas define the request and response models for the
Server Management endpoints based on the API documentation.

All schemas use camelCase for API input/output and for MongoDB storage.
"""

from datetime import datetime
from typing import Any

from pydantic import ConfigDict, Field, field_validator, model_serializer

from ..schemas.acl_schema import ResourcePermissions
from ..schemas.case_conversion import APIBaseModel
from ..utils.crypto_utils import decrypt_auth_fields
from ..utils.schema_converter import convert_di

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key