@@ -22,11 +22,11 @@ use crate::servers::apis::v1::responses::{invalid_auth_key_param_response, ok_re
22
22
/// It returns these types of responses:
23
23
///
24
24
/// - `200` with a json [`AuthKey`]
25
- /// resource. If the key was generated successfully.
25
+ /// resource. If the key was generated successfully.
26
26
/// - `400` with an error if the key couldn't been added because of an invalid
27
- /// request.
27
+ /// request.
28
28
/// - `500` with serialized error in debug format. If the key couldn't be
29
- /// generated.
29
+ /// generated.
30
30
///
31
31
/// Refer to the [API endpoint documentation](crate::servers::apis::v1::context::auth_key#generate-a-new-authentication-key)
32
32
/// for more information about this endpoint.
@@ -57,9 +57,9 @@ pub async fn add_auth_key_handler(
57
57
/// It returns two types of responses:
58
58
///
59
59
/// - `200` with an json [`AuthKey`]
60
- /// resource. If the key was generated successfully.
60
+ /// resource. If the key was generated successfully.
61
61
/// - `500` with serialized error in debug format. If the key couldn't be
62
- /// generated.
62
+ /// generated.
63
63
///
64
64
/// Refer to the [API endpoint documentation](crate::servers::apis::v1::context::auth_key#generate-a-new-authentication-key)
65
65
/// for more information about this endpoint.
@@ -99,9 +99,9 @@ pub struct KeyParam(String);
99
99
/// It returns two types of responses:
100
100
///
101
101
/// - `200` with an json [`ActionStatus::Ok`](crate::servers::apis::v1::responses::ActionStatus::Ok)
102
- /// response. If the key was deleted successfully.
102
+ /// response. If the key was deleted successfully.
103
103
/// - `500` with serialized error in debug format. If the key couldn't be
104
- /// deleted.
104
+ /// deleted.
105
105
///
106
106
/// Refer to the [API endpoint documentation](crate::servers::apis::v1::context::auth_key#delete-an-authentication-key)
107
107
/// for more information about this endpoint.
@@ -124,9 +124,9 @@ pub async fn delete_auth_key_handler(
124
124
/// It returns two types of responses:
125
125
///
126
126
/// - `200` with an json [`ActionStatus::Ok`](crate::servers::apis::v1::responses::ActionStatus::Ok)
127
- /// response. If the keys were successfully reloaded.
127
+ /// response. If the keys were successfully reloaded.
128
128
/// - `500` with serialized error in debug format. If the they couldn't be
129
- /// reloaded.
129
+ /// reloaded.
130
130
///
131
131
/// Refer to the [API endpoint documentation](crate::servers::apis::v1::context::auth_key#reload-authentication-keys)
132
132
/// for more information about this endpoint.
0 commit comments