@@ -128,7 +128,9 @@ impl Configuration {
128128 }
129129}
130130
131- /// Retrieve general configuration.
131+ /// Get Platform Config
132+ ///
133+ /// Retrieve configuration of the Feldera Platform.
132134#[ utoipa:: path(
133135 context_path = "/v0" ,
134136 security( ( "JSON web token (JWT) or API key" = [ ] ) ) ,
@@ -141,7 +143,7 @@ impl Configuration {
141143 , description = "Request failed."
142144 , body = ErrorResponse ) ,
143145 ) ,
144- tag = "Configuration "
146+ tag = "Platform "
145147) ]
146148#[ get( "/config" ) ]
147149pub ( crate ) async fn get_config (
@@ -153,7 +155,9 @@ pub(crate) async fn get_config(
153155 Ok ( HttpResponse :: Ok ( ) . json ( config) )
154156}
155157
156- /// Retrieve authentication provider configuration.
158+ /// Get Auth Config
159+ ///
160+ /// Retrieve the authentication provider configuration.
157161#[ utoipa:: path(
158162 path="/config/authentication" ,
159163 responses(
@@ -166,7 +170,7 @@ pub(crate) async fn get_config(
166170 , description = "Request failed."
167171 , body = ErrorResponse ) ,
168172 ) ,
169- tag = "Configuration "
173+ tag = "Platform "
170174) ]
171175#[ get( "/config/authentication" ) ]
172176pub ( crate ) async fn get_config_authentication (
@@ -180,7 +184,9 @@ pub(crate) async fn get_config_authentication(
180184 Ok ( HttpResponse :: Ok ( ) . json ( & auth_config. provider ) )
181185}
182186
183- /// Retrieve the list of demos.
187+ /// List Demos
188+ ///
189+ /// Retrieve the list of demos available in the WebConsole.
184190#[ utoipa:: path(
185191 context_path = "/v0" ,
186192 security( ( "JSON web token (JWT) or API key" = [ ] ) ) ,
@@ -193,7 +199,7 @@ pub(crate) async fn get_config_authentication(
193199 , description = "Failed to read demos from the demos directories"
194200 , body = ErrorResponse ) ,
195201 ) ,
196- tag = "Configuration " ,
202+ tag = "Platform " ,
197203) ]
198204#[ get( "/config/demos" ) ]
199205pub ( crate ) async fn get_config_demos (
@@ -225,7 +231,9 @@ impl SessionInfo {
225231 }
226232}
227233
228- /// Retrieve current session information.
234+ /// Get Session
235+ ///
236+ /// Retrieve login session information for your current user session.
229237#[ utoipa:: path(
230238 context_path = "/v0" ,
231239 security( ( "JSON web token (JWT) or API key" = [ ] ) ) ,
@@ -238,7 +246,7 @@ impl SessionInfo {
238246 , description = "Request failed."
239247 , body = ErrorResponse ) ,
240248 ) ,
241- tag = "Configuration "
249+ tag = "Platform "
242250) ]
243251#[ get( "/config/session" ) ]
244252pub ( crate ) async fn get_config_session (
0 commit comments