mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Update project schema and fix tests
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -64,7 +64,6 @@ class ProjectBase(BaseModel):
|
||||
show_interface_labels: Optional[bool] = Field(None, description="Show interface labels on the drawing area")
|
||||
supplier: Optional[Supplier] = Field(None, description="Supplier of the project")
|
||||
variables: Optional[List[Variable]] = Field(None, description="Variables required to run the project")
|
||||
created_by: Optional[str] = Field(None, description="Username of the user who created the project")
|
||||
|
||||
|
||||
class ProjectCreate(ProjectBase):
|
||||
@@ -97,6 +96,7 @@ class Project(ProjectBase):
|
||||
name: Optional[str] = None
|
||||
status: Optional[ProjectStatus] = None
|
||||
filename: Optional[str] = None
|
||||
created_by: Optional[str] = Field(None, description="Username of the user who created the project")
|
||||
|
||||
|
||||
class ProjectFile(BaseModel):
|
||||
|
||||
Reference in new issue
Block a user