@@ -84,6 +84,16 @@ definitions:
8484 type : string
8585 db_username :
8686 type : string
87+ ssl_cert :
88+ type : string
89+ ssl_enabled :
90+ type : boolean
91+ ssl_key :
92+ type : string
93+ ssl_mode :
94+ type : string
95+ ssl_root_cert :
96+ type : string
8797 required :
8898 - db_type
8999 type : object
@@ -95,13 +105,19 @@ definitions:
95105 email :
96106 maxLength : 500
97107 type : string
108+ external_content_display :
109+ enum :
110+ - always_display
111+ - ask_before_display
112+ type : string
98113 lang :
99114 maxLength : 30
100115 type : string
101116 login_required :
102117 type : boolean
103118 name :
104119 maxLength : 30
120+ minLength : 2
105121 type : string
106122 password :
107123 maxLength : 32
@@ -116,6 +132,7 @@ definitions:
116132 required :
117133 - contact_email
118134 - email
135+ - external_content_display
119136 - lang
120137 - name
121138 - password
@@ -1625,6 +1642,8 @@ definitions:
16251642 type : object
16261643 schema.QuestionPageRespOperator :
16271644 properties :
1645+ avatar :
1646+ type : string
16281647 display_name :
16291648 type : string
16301649 id :
@@ -2035,6 +2054,8 @@ definitions:
20352054 $ref : ' #/definitions/schema.SiteLoginResp'
20362055 revision :
20372056 type : string
2057+ site_legal :
2058+ $ref : ' #/definitions/schema.SiteLegalSimpleResp'
20382059 site_seo :
20392060 $ref : ' #/definitions/schema.SiteSeoResp'
20402061 site_users :
@@ -2072,6 +2093,11 @@ definitions:
20722093 type : object
20732094 schema.SiteLegalReq :
20742095 properties :
2096+ external_content_display :
2097+ enum :
2098+ - always_display
2099+ - ask_before_display
2100+ type : string
20752101 privacy_policy_original_text :
20762102 type : string
20772103 privacy_policy_parsed_text :
@@ -2080,9 +2106,16 @@ definitions:
20802106 type : string
20812107 terms_of_service_parsed_text :
20822108 type : string
2109+ required :
2110+ - external_content_display
20832111 type : object
20842112 schema.SiteLegalResp :
20852113 properties :
2114+ external_content_display :
2115+ enum :
2116+ - always_display
2117+ - ask_before_display
2118+ type : string
20862119 privacy_policy_original_text :
20872120 type : string
20882121 privacy_policy_parsed_text :
@@ -2091,6 +2124,18 @@ definitions:
20912124 type : string
20922125 terms_of_service_parsed_text :
20932126 type : string
2127+ required :
2128+ - external_content_display
2129+ type : object
2130+ schema.SiteLegalSimpleResp :
2131+ properties :
2132+ external_content_display :
2133+ enum :
2134+ - always_display
2135+ - ask_before_display
2136+ type : string
2137+ required :
2138+ - external_content_display
20942139 type : object
20952140 schema.SiteLoginReq :
20962141 properties :
0 commit comments