Files
thePlug/app/models/service.py
T
reloia a4d73efa77
Build and Push to Registry / build (push) Successful in 8s
chore: restructure project directory and update Dockerfile paths
2026-04-12 00:27:30 +02:00

7 lines
297 B
Python

from pydantic import BaseModel, Field
class ServiceDocument(BaseModel):
name: str = Field(..., description="Name of the service")
port: int = Field(..., description="Port number of the service")
category: str = Field(..., description="Category of the service (e.g., web, pwn, etc.)")