File tree Expand file tree Collapse file tree 4 files changed +50
-4
lines changed Expand file tree Collapse file tree 4 files changed +50
-4
lines changed Original file line number Diff line number Diff line change @@ -627,7 +627,7 @@ type SSHPublicKeyInfo struct {
627
627
// @Tags configuration
628
628
// @Id getSSHPublicKey
629
629
// @Security ApiKeyAuth
630
- // @Success 200 {object} v1.SSHPublicKeyInfo
630
+ // @Success 200 {object} v1.SSHPublicKeyInfoV1Rsp
631
631
// @Router /v1/configurations/ssh_key [get]
632
632
func GetSSHPublicKey (c echo.Context ) error {
633
633
storage := model .GetStorage ()
Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ var doc = `{
645
645
"200": {
646
646
"description": "OK",
647
647
"schema": {
648
- "$ref": "#/definitions/v1.SSHPublicKeyInfo "
648
+ "$ref": "#/definitions/v1.SSHPublicKeyInfoV1Rsp "
649
649
}
650
650
}
651
651
}
@@ -18241,6 +18241,23 @@ var doc = `{
18241
18241
}
18242
18242
}
18243
18243
},
18244
+ "v1.SSHPublicKeyInfoV1Rsp": {
18245
+ "type": "object",
18246
+ "properties": {
18247
+ "code": {
18248
+ "type": "integer",
18249
+ "example": 0
18250
+ },
18251
+ "data": {
18252
+ "type": "object",
18253
+ "$ref": "#/definitions/v1.SSHPublicKeyInfo"
18254
+ },
18255
+ "message": {
18256
+ "type": "string",
18257
+ "example": "ok"
18258
+ }
18259
+ }
18260
+ },
18244
18261
"v1.ScheduleTaskDefaultOption": {
18245
18262
"type": "object",
18246
18263
"properties": {
Original file line number Diff line number Diff line change 629
629
"200": {
630
630
"description": "OK",
631
631
"schema": {
632
- "$ref": "#/definitions/v1.SSHPublicKeyInfo "
632
+ "$ref": "#/definitions/v1.SSHPublicKeyInfoV1Rsp "
633
633
}
634
634
}
635
635
}
18225
18225
}
18226
18226
}
18227
18227
},
18228
+ "v1.SSHPublicKeyInfoV1Rsp": {
18229
+ "type": "object",
18230
+ "properties": {
18231
+ "code": {
18232
+ "type": "integer",
18233
+ "example": 0
18234
+ },
18235
+ "data": {
18236
+ "type": "object",
18237
+ "$ref": "#/definitions/v1.SSHPublicKeyInfo"
18238
+ },
18239
+ "message": {
18240
+ "type": "string",
18241
+ "example": "ok"
18242
+ }
18243
+ }
18244
+ },
18228
18245
"v1.ScheduleTaskDefaultOption": {
18229
18246
"type": "object",
18230
18247
"properties": {
Original file line number Diff line number Diff line change @@ -4207,6 +4207,18 @@ definitions:
4207
4207
public_key :
4208
4208
type : string
4209
4209
type : object
4210
+ v1.SSHPublicKeyInfoV1Rsp :
4211
+ properties :
4212
+ code :
4213
+ example : 0
4214
+ type : integer
4215
+ data :
4216
+ $ref : ' #/definitions/v1.SSHPublicKeyInfo'
4217
+ type : object
4218
+ message :
4219
+ example : ok
4220
+ type : string
4221
+ type : object
4210
4222
v1.ScheduleTaskDefaultOption :
4211
4223
properties :
4212
4224
default_selector :
@@ -6964,7 +6976,7 @@ paths:
6964
6976
" 200 " :
6965
6977
description : OK
6966
6978
schema :
6967
- $ref : ' #/definitions/v1.SSHPublicKeyInfo '
6979
+ $ref : ' #/definitions/v1.SSHPublicKeyInfoV1Rsp '
6968
6980
security :
6969
6981
- ApiKeyAuth : []
6970
6982
summary : 获取SSH公钥
You can’t perform that action at this time.
0 commit comments