@@ -3003,17 +3003,17 @@ const docTemplate = `{
3003
3003
"ApiKeyAuth": []
3004
3004
}
3005
3005
],
3006
- "description": "UserAnswerList ",
3006
+ "description": "list personal answers ",
3007
3007
"consumes": [
3008
3008
"application/json"
3009
3009
],
3010
3010
"produces": [
3011
3011
"application/json"
3012
3012
],
3013
3013
"tags": [
3014
- "api-answer "
3014
+ "Personal "
3015
3015
],
3016
- "summary": "UserAnswerList ",
3016
+ "summary": "list personal answers ",
3017
3017
"parameters": [
3018
3018
{
3019
3019
"type": "string",
@@ -3045,8 +3045,8 @@ const docTemplate = `{
3045
3045
{
3046
3046
"type": "string",
3047
3047
"default": "20",
3048
- "description": "pagesize ",
3049
- "name": "pagesize ",
3048
+ "description": "page_size ",
3049
+ "name": "page_size ",
3050
3050
"in": "query",
3051
3051
"required": true
3052
3052
}
@@ -3068,7 +3068,7 @@ const docTemplate = `{
3068
3068
"ApiKeyAuth": []
3069
3069
}
3070
3070
],
3071
- "description": "UserCollectionList ",
3071
+ "description": "list personal collections ",
3072
3072
"consumes": [
3073
3073
"application/json"
3074
3074
],
@@ -3078,7 +3078,7 @@ const docTemplate = `{
3078
3078
"tags": [
3079
3079
"Collection"
3080
3080
],
3081
- "summary": "UserCollectionList ",
3081
+ "summary": "list personal collections ",
3082
3082
"parameters": [
3083
3083
{
3084
3084
"type": "string",
@@ -3091,8 +3091,8 @@ const docTemplate = `{
3091
3091
{
3092
3092
"type": "string",
3093
3093
"default": "20",
3094
- "description": "pagesize ",
3095
- "name": "pagesize ",
3094
+ "description": "page_size ",
3095
+ "name": "page_size ",
3096
3096
"in": "query",
3097
3097
"required": true
3098
3098
}
@@ -5289,12 +5289,12 @@ const docTemplate = `{
5289
5289
"summary": "UserModifyPassWord",
5290
5290
"parameters": [
5291
5291
{
5292
- "description": "UserModifyPassWordRequest ",
5292
+ "description": "UserModifyPasswordReq ",
5293
5293
"name": "data",
5294
5294
"in": "body",
5295
5295
"required": true,
5296
5296
"schema": {
5297
- "$ref": "#/definitions/schema.UserModifyPassWordRequest "
5297
+ "$ref": "#/definitions/schema.UserModifyPasswordReq "
5298
5298
}
5299
5299
}
5300
5300
],
@@ -5810,17 +5810,17 @@ const docTemplate = `{
5810
5810
"ApiKeyAuth": []
5811
5811
}
5812
5812
],
5813
- "description": "UserList ",
5813
+ "description": "list personal questions ",
5814
5814
"consumes": [
5815
5815
"application/json"
5816
5816
],
5817
5817
"produces": [
5818
5818
"application/json"
5819
5819
],
5820
5820
"tags": [
5821
- "Question "
5821
+ "Personal "
5822
5822
],
5823
- "summary": "UserList ",
5823
+ "summary": "list personal questions ",
5824
5824
"parameters": [
5825
5825
{
5826
5826
"type": "string",
@@ -5852,8 +5852,8 @@ const docTemplate = `{
5852
5852
{
5853
5853
"type": "string",
5854
5854
"default": "20",
5855
- "description": "pagesize ",
5856
- "name": "pagesize ",
5855
+ "description": "page_size ",
5856
+ "name": "page_size ",
5857
5857
"in": "query",
5858
5858
"required": true
5859
5859
}
@@ -6385,19 +6385,11 @@ const docTemplate = `{
6385
6385
}
6386
6386
}
6387
6387
},
6388
- "schema.ConfigFieldUIOptionAction": {
6389
- "type": "object",
6390
- "properties": {
6391
- "url": {
6392
- "type": "string"
6393
- }
6394
- }
6395
- },
6396
6388
"schema.ConfigFieldUIOptions": {
6397
6389
"type": "object",
6398
6390
"properties": {
6399
6391
"action": {
6400
- "$ref": "#/definitions/schema.ConfigFieldUIOptionAction "
6392
+ "$ref": "#/definitions/schema.UIOptionAction "
6401
6393
},
6402
6394
"input_type": {
6403
6395
"type": "string"
@@ -7484,6 +7476,17 @@ const docTemplate = `{
7484
7476
}
7485
7477
}
7486
7478
},
7479
+ "schema.LoadingAction": {
7480
+ "type": "object",
7481
+ "properties": {
7482
+ "state": {
7483
+ "type": "string"
7484
+ },
7485
+ "text": {
7486
+ "type": "string"
7487
+ }
7488
+ }
7489
+ },
7487
7490
"schema.NotificationClearIDRequest": {
7488
7491
"type": "object",
7489
7492
"properties": {
@@ -7501,6 +7504,17 @@ const docTemplate = `{
7501
7504
}
7502
7505
}
7503
7506
},
7507
+ "schema.OnCompleteAction": {
7508
+ "type": "object",
7509
+ "properties": {
7510
+ "refresh_form_config": {
7511
+ "type": "boolean"
7512
+ },
7513
+ "toast_return_message": {
7514
+ "type": "boolean"
7515
+ }
7516
+ }
7517
+ },
7504
7518
"schema.OperationQuestionReq": {
7505
7519
"type": "object",
7506
7520
"required": [
@@ -8489,6 +8503,23 @@ const docTemplate = `{
8489
8503
}
8490
8504
}
8491
8505
},
8506
+ "schema.UIOptionAction": {
8507
+ "type": "object",
8508
+ "properties": {
8509
+ "loading": {
8510
+ "$ref": "#/definitions/schema.LoadingAction"
8511
+ },
8512
+ "method": {
8513
+ "type": "string"
8514
+ },
8515
+ "on_complete": {
8516
+ "$ref": "#/definitions/schema.OnCompleteAction"
8517
+ },
8518
+ "url": {
8519
+ "type": "string"
8520
+ }
8521
+ }
8522
+ },
8492
8523
"schema.UnreviewedRevisionInfoInfo": {
8493
8524
"type": "object",
8494
8525
"properties": {
@@ -8545,9 +8576,6 @@ const docTemplate = `{
8545
8576
},
8546
8577
"schema.UpdateInfoRequest": {
8547
8578
"type": "object",
8548
- "required": [
8549
- "display_name"
8550
- ],
8551
8579
"properties": {
8552
8580
"avatar": {
8553
8581
"description": "avatar",
@@ -8843,6 +8871,11 @@ const docTemplate = `{
8843
8871
"e_mail": {
8844
8872
"type": "string",
8845
8873
"maxLength": 500
8874
+ },
8875
+ "pass": {
8876
+ "type": "string",
8877
+ "maxLength": 32,
8878
+ "minLength": 8
8846
8879
}
8847
8880
}
8848
8881
},
@@ -8886,7 +8919,7 @@ const docTemplate = `{
8886
8919
}
8887
8920
}
8888
8921
},
8889
- "schema.UserModifyPassWordRequest ": {
8922
+ "schema.UserModifyPasswordReq ": {
8890
8923
"type": "object",
8891
8924
"required": [
8892
8925
"pass"
0 commit comments