mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
feat: add response models for endpoints returning untyped objects
This commit is contained in:
24 files changed
+1192
-53
No files matched your search
@@ -126,3 +126,15 @@ class ProjectCompression(str, Enum):
|
||||
bzip2 = "bzip2"
|
||||
lzma = "lzma"
|
||||
zstd = "zstd"
|
||||
|
||||
|
||||
class ProjectStats(BaseModel):
|
||||
"""
|
||||
Project object counts.
|
||||
"""
|
||||
|
||||
nodes: int
|
||||
links: int
|
||||
drawings: int
|
||||
snapshots: int
|
||||
markers: int
|
||||
Reference in new issue
Block a user