[GET] /server

This commit is contained in:
2023-12-01 11:24:22 +01:00
parent 1f4a477077
commit b958ff7ca2
7 changed files with 274 additions and 72 deletions

View File

@@ -283,8 +283,35 @@
"models.Server": {
"type": "object",
"properties": {
"contentType": {
"type": "string"
},
"ip": {
"type": "string"
},
"pid": {
"type": "integer"
},
"port": {
"type": "integer"
},
"process": {
"type": "string"
},
"protocol": {
"type": "string"
},
"response": {
"type": "string"
},
"sockState": {
"type": "string"
},
"statusCode": {
"type": "integer"
},
"uid": {
"type": "integer"
}
}
}

View File

@@ -56,8 +56,26 @@ definitions:
type: object
models.Server:
properties:
contentType:
type: string
ip:
type: string
pid:
type: integer
port:
type: integer
process:
type: string
protocol:
type: string
response:
type: string
sockState:
type: string
statusCode:
type: integer
uid:
type: integer
type: object
host: localhost
info: