chore: restructure project directory and update Dockerfile paths
Build and Push to Registry / build (push) Successful in 8s
Build and Push to Registry / build (push) Successful in 8s
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from models.service import ServiceDocument
|
||||
|
||||
|
||||
class ProxyDocument(BaseModel):
|
||||
port: int = Field(..., description="Port number of the proxy")
|
||||
service: ServiceDocument = Field(..., description="Associated service details")
|
||||
@@ -0,0 +1,6 @@
|
||||
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.)")
|
||||
Reference in New Issue
Block a user