diff --git a/docs/guides/registration.md b/docs/guides/registration.md index d61fa63..d1f3e21 100644 --- a/docs/guides/registration.md +++ b/docs/guides/registration.md @@ -211,7 +211,6 @@ The service sends this payload to the orchestrator: "id": "my-service", "display_name": "My Service", "version": "1.0.0", - "summary": "Service description", ... } } diff --git a/examples/app_hosting/main.py b/examples/app_hosting/main.py index e0025e7..e7634a3 100644 --- a/examples/app_hosting/main.py +++ b/examples/app_hosting/main.py @@ -9,7 +9,6 @@ id="app-hosting-demo", display_name="App Hosting Demo", version="1.0.0", - summary="Demonstrates hosting static web apps with servicekit", description="This service hosts a sample dashboard app at /dashboard", ) ) diff --git a/examples/auth_basic/main.py b/examples/auth_basic/main.py index a9374ec..f6f08e2 100644 --- a/examples/auth_basic/main.py +++ b/examples/auth_basic/main.py @@ -8,7 +8,6 @@ id="auth-basic-example", display_name="Authenticated API Example", version="1.0.0", - summary="Basic API key authentication example", description=( "Demonstrates API key authentication with hardcoded keys for development. " "Shows the simplest auth setup pattern using the with_auth() method with " diff --git a/examples/auth_custom_header/main.py b/examples/auth_custom_header/main.py index e878bcb..2c41a82 100644 --- a/examples/auth_custom_header/main.py +++ b/examples/auth_custom_header/main.py @@ -8,14 +8,11 @@ id="auth-custom-header-example", display_name="API with Custom Authentication Header", version="1.0.0", - summary="API using custom header name for authentication", description=( "Demonstrates custom authentication header configuration. " "Uses 'X-Custom-Auth-Token' instead of default 'X-API-Key'. " "Useful for legacy system integration or compliance requirements." ), - contact={"email": "api@example.com"}, - license_info={"name": "MIT"}, ), ) .with_logging() diff --git a/examples/auth_docker_secrets/main.py b/examples/auth_docker_secrets/main.py index 5cf424b..319bf46 100644 --- a/examples/auth_docker_secrets/main.py +++ b/examples/auth_docker_secrets/main.py @@ -8,14 +8,11 @@ id="auth-docker-secrets-example", display_name="Secure API with Docker Secrets", version="2.0.0", - summary="Production API using Docker secrets file for authentication", description=( "Demonstrates Docker secrets file authentication pattern. " "API keys are read from a file mounted as a Docker secret at runtime. " "Compatible with Docker Compose, Docker Swarm, and Kubernetes." ), - contact={"email": "security@example.com"}, - license_info={"name": "MIT"}, ), ) .with_logging() diff --git a/examples/auth_envvar/main.py b/examples/auth_envvar/main.py index 0d33f69..f2d38e1 100644 --- a/examples/auth_envvar/main.py +++ b/examples/auth_envvar/main.py @@ -8,14 +8,11 @@ id="auth-envvar-example", display_name="Production API with Environment Variable Auth", version="2.0.0", - summary="Production-ready API using environment variables for authentication", description=( "Demonstrates the recommended approach for production deployments: " "reading API keys from SERVICEKIT_API_KEYS environment variable. " "Supports multiple keys for zero-downtime rotation." ), - contact={"email": "ops@example.com"}, - license_info={"name": "MIT"}, ), ) .with_logging() diff --git a/examples/core_api/main.py b/examples/core_api/main.py index f23925c..bcf9461 100644 --- a/examples/core_api/main.py +++ b/examples/core_api/main.py @@ -164,7 +164,6 @@ async def seed_users(app: FastAPI) -> None: id="core-user-service", display_name="Core User Service", version="1.0.0", - summary="User management API using core-only features", description="Demonstrates BaseServiceBuilder with custom entities, " "CRUD operations, health checks, and job scheduling without module dependencies.", ) diff --git a/examples/job_scheduler/main.py b/examples/job_scheduler/main.py index 97b8273..553e322 100644 --- a/examples/job_scheduler/main.py +++ b/examples/job_scheduler/main.py @@ -121,7 +121,6 @@ async def get_computation_result( # pyright: ignore[reportUnusedFunction] info = ServiceInfo( id="job-scheduler-demo", display_name="Job Scheduler Demo", - summary="Demonstrates async job scheduling with polling and SSE streaming", version="1.0.0", description=( "Shows two patterns for monitoring long-running jobs: " diff --git a/examples/monitoring/main.py b/examples/monitoring/main.py index cad4821..a8db149 100644 --- a/examples/monitoring/main.py +++ b/examples/monitoring/main.py @@ -8,7 +8,6 @@ id="monitoring-example", display_name="Monitoring Example Service", version="1.0.0", - summary="Service with OpenTelemetry monitoring and Prometheus metrics", description="Demonstrates automatic instrumentation of FastAPI and SQLAlchemy " "with metrics exposed at /metrics endpoint. Includes health check endpoint.", ) diff --git a/examples/registration/main.py b/examples/registration/main.py index 6a90058..81cdb8d 100644 --- a/examples/registration/main.py +++ b/examples/registration/main.py @@ -8,14 +8,11 @@ id="registration-example", display_name="Registration Example Service", version="1.0.0", - summary="Demonstrates automatic service registration with orchestrator", description=( "This service automatically registers itself with an orchestrator on startup. " "The orchestrator can then discover and monitor this service. " "Hostname is auto-detected from Docker container name." ), - contact={"email": "ops@example.com"}, - license_info={"name": "MIT"}, ), ) .with_logging() diff --git a/examples/registration/main_custom.py b/examples/registration/main_custom.py index fe955f1..631b8bd 100644 --- a/examples/registration/main_custom.py +++ b/examples/registration/main_custom.py @@ -18,7 +18,6 @@ class CustomServiceInfo(ServiceInfo): id="custom-metadata-service", display_name="Custom Metadata Service", version="2.0.0", - summary="Demonstrates custom ServiceInfo with additional metadata", description=( "This service uses a custom ServiceInfo subclass to include " "additional metadata in the registration payload. The orchestrator " diff --git a/examples/registration/orchestrator.py b/examples/registration/orchestrator.py index 9d1a521..6fd8a91 100644 --- a/examples/registration/orchestrator.py +++ b/examples/registration/orchestrator.py @@ -265,7 +265,6 @@ async def lifespan(app: FastAPI): id="mock-orchestrator", display_name="Mock Orchestrator", version="1.0.0", - summary="Simple orchestrator for testing service registration", description=( "Provides service registration endpoints for servicekit services to register themselves for discovery. " f"Services must send keepalive pings within {TTL_SECONDS} seconds or they will be removed from the " diff --git a/pyproject.toml b/pyproject.toml index 9603fbc..5edea5a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "servicekit" -version = "0.8.0" +version = "0.8.1" description = "Async SQLAlchemy framework with FastAPI integration - reusable foundation for building data services" readme = "README.md" authors = [{ name = "Morten Hansen", email = "morten@winterop.com" }] diff --git a/src/servicekit/api/apps/landing/index.html b/src/servicekit/api/apps/landing/index.html index ef0bc30..77d4bf2 100644 --- a/src/servicekit/api/apps/landing/index.html +++ b/src/servicekit/api/apps/landing/index.html @@ -100,13 +100,6 @@
${contactJson}${licenseJson}