Skip to content

Commit

Permalink
swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
hq0101 committed Aug 8, 2024
1 parent 7752623 commit fd01954
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 59 deletions.
36 changes: 15 additions & 21 deletions docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,39 +358,36 @@ const docTemplate = `{
"cli.ClamdStats": {
"type": "object",
"properties": {
"free": {
"type": "number"
},
"heap": {
"type": "number"
},
"idleTimeout": {
"type": "integer"
},
"mmap": {
"memFree": {
"type": "number"
},
"pools": {
"type": "integer"
},
"poolsTotal": {
"memHeap": {
"type": "number"
},
"poolsUsed": {
"memMmap": {
"type": "number"
},
"queueItems": {
"type": "integer"
"memPoolsTotal": {
"type": "number"
},
"releasable": {
"memPoolsUsed": {
"type": "number"
},
"state": {
"type": "string"
"memReleasable": {
"type": "number"
},
"stats": {
"memUsed": {
"type": "number"
},
"pools": {
"type": "integer"
},
"queueItems": {
"type": "integer"
},
"threadsIdle": {
"type": "integer"
},
Expand All @@ -399,9 +396,6 @@ const docTemplate = `{
},
"threadsMax": {
"type": "integer"
},
"used": {
"type": "number"
}
}
},
Expand Down
36 changes: 15 additions & 21 deletions docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,39 +347,36 @@
"cli.ClamdStats": {
"type": "object",
"properties": {
"free": {
"type": "number"
},
"heap": {
"type": "number"
},
"idleTimeout": {
"type": "integer"
},
"mmap": {
"memFree": {
"type": "number"
},
"pools": {
"type": "integer"
},
"poolsTotal": {
"memHeap": {
"type": "number"
},
"poolsUsed": {
"memMmap": {
"type": "number"
},
"queueItems": {
"type": "integer"
"memPoolsTotal": {
"type": "number"
},
"releasable": {
"memPoolsUsed": {
"type": "number"
},
"state": {
"type": "string"
"memReleasable": {
"type": "number"
},
"stats": {
"memUsed": {
"type": "number"
},
"pools": {
"type": "integer"
},
"queueItems": {
"type": "integer"
},
"threadsIdle": {
"type": "integer"
},
Expand All @@ -388,9 +385,6 @@
},
"threadsMax": {
"type": "integer"
},
"used": {
"type": "number"
}
}
},
Expand Down
30 changes: 13 additions & 17 deletions docs/swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,36 +1,32 @@
definitions:
cli.ClamdStats:
properties:
free:
type: number
heap:
type: number
idleTimeout:
type: integer
mmap:
memFree:
type: number
pools:
type: integer
poolsTotal:
memHeap:
type: number
poolsUsed:
memMmap:
type: number
queueItems:
type: integer
releasable:
memPoolsTotal:
type: number
state:
type: string
stats:
memPoolsUsed:
type: number
memReleasable:
type: number
memUsed:
type: number
pools:
type: integer
queueItems:
type: integer
threadsIdle:
type: integer
threadsLive:
type: integer
threadsMax:
type: integer
used:
type: number
type: object
cli.ScanResult:
properties:
Expand Down

0 comments on commit fd01954

Please sign in to comment.