remove service03 type; consolidated service type (#119)

This commit is contained in:
Michael Quigley
2022-12-01 12:54:14 -05:00
parent b80eb4f837
commit 44f4e37e83
10 changed files with 62 additions and 167 deletions

View File

@ -284,7 +284,7 @@ func init() {
"200": {
"description": "ok",
"schema": {
"$ref": "#/definitions/service03"
"$ref": "#/definitions/service"
}
},
"401": {
@ -632,6 +632,9 @@ func init() {
"service": {
"type": "object",
"properties": {
"backendMode": {
"type": "string"
},
"backendProxyEndpoint": {
"type": "string"
},
@ -641,35 +644,12 @@ func init() {
"frontendEndpoint": {
"type": "string"
},
"metrics": {
"$ref": "#/definitions/serviceMetrics"
},
"token": {
"type": "string"
},
"updatedAt": {
"type": "integer"
},
"zId": {
"type": "string"
}
}
},
"service03": {
"type": "object",
"properties": {
"backendMode": {
"type": "string"
},
"backendProxyEndpoint": {
"type": "string"
},
"frontendEndpoint": {
"type": "string"
},
"frontendSelection": {
"type": "string"
},
"metrics": {
"$ref": "#/definitions/serviceMetrics"
},
"reserved": {
"type": "boolean"
},
@ -679,6 +659,9 @@ func init() {
"token": {
"type": "string"
},
"updatedAt": {
"type": "integer"
},
"zId": {
"type": "string"
}
@ -1085,7 +1068,7 @@ func init() {
"200": {
"description": "ok",
"schema": {
"$ref": "#/definitions/service03"
"$ref": "#/definitions/service"
}
},
"401": {
@ -1433,6 +1416,9 @@ func init() {
"service": {
"type": "object",
"properties": {
"backendMode": {
"type": "string"
},
"backendProxyEndpoint": {
"type": "string"
},
@ -1442,35 +1428,12 @@ func init() {
"frontendEndpoint": {
"type": "string"
},
"metrics": {
"$ref": "#/definitions/serviceMetrics"
},
"token": {
"type": "string"
},
"updatedAt": {
"type": "integer"
},
"zId": {
"type": "string"
}
}
},
"service03": {
"type": "object",
"properties": {
"backendMode": {
"type": "string"
},
"backendProxyEndpoint": {
"type": "string"
},
"frontendEndpoint": {
"type": "string"
},
"frontendSelection": {
"type": "string"
},
"metrics": {
"$ref": "#/definitions/serviceMetrics"
},
"reserved": {
"type": "boolean"
},
@ -1480,6 +1443,9 @@ func init() {
"token": {
"type": "string"
},
"updatedAt": {
"type": "integer"
},
"zId": {
"type": "string"
}