mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
apidoc fixes (#2614)
This commit is contained in:
parent
0d05afc1e2
commit
1a81b437d8
|
@ -207,7 +207,7 @@ impl TryFrom<&str> for FsType {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, Copy)]
|
||||
#[derive(Debug, Serialize, Deserialize, Clone, Copy, ToSchema)]
|
||||
pub enum Oauth2ClaimMapJoin {
|
||||
#[serde(rename = "csv")]
|
||||
Csv,
|
||||
|
|
|
@ -70,6 +70,9 @@ impl Modify for SecurityAddon {
|
|||
super::v1_oauth2::oauth2_id_scopemap_delete,
|
||||
super::v1_oauth2::oauth2_id_sup_scopemap_post,
|
||||
super::v1_oauth2::oauth2_id_sup_scopemap_delete,
|
||||
super::v1_oauth2::oauth2_id_claimmap_join_post,
|
||||
super::v1_oauth2::oauth2_id_claimmap_post,
|
||||
super::v1_oauth2::oauth2_id_claimmap_delete,
|
||||
super::v1_scim::scim_sync_post,
|
||||
super::v1_scim::scim_sync_get,
|
||||
|
||||
|
@ -216,6 +219,7 @@ impl Modify for SecurityAddon {
|
|||
internal::Modify,
|
||||
internal::ModifyList,
|
||||
internal::ModifyRequest,
|
||||
internal::Oauth2ClaimMapJoin,
|
||||
internal::OperationError,
|
||||
internal::PasskeyDetail,
|
||||
internal::PasswordFeedback,
|
||||
|
|
|
@ -178,7 +178,7 @@ pub(crate) async fn oauth2_id_patch(
|
|||
}
|
||||
|
||||
#[utoipa::path(
|
||||
patch,
|
||||
post,
|
||||
path = "/v1/oauth2/{rs_name}/_scopemap/{group}",
|
||||
request_body=Vec<String>,
|
||||
responses(
|
||||
|
@ -232,7 +232,7 @@ pub(crate) async fn oauth2_id_scopemap_delete(
|
|||
}
|
||||
|
||||
#[utoipa::path(
|
||||
patch,
|
||||
post,
|
||||
path = "/v1/oauth2/{rs_name}/_claimmap/{claim_name}/{group}",
|
||||
request_body=Vec<String>,
|
||||
responses(
|
||||
|
@ -267,7 +267,7 @@ pub(crate) async fn oauth2_id_claimmap_post(
|
|||
}
|
||||
|
||||
#[utoipa::path(
|
||||
patch,
|
||||
post,
|
||||
path = "/v1/oauth2/{rs_name}/_claimmap/{claim_name}",
|
||||
request_body=Oauth2ClaimMapJoin,
|
||||
responses(
|
||||
|
|
Loading…
Reference in a new issue