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 {
|
pub enum Oauth2ClaimMapJoin {
|
||||||
#[serde(rename = "csv")]
|
#[serde(rename = "csv")]
|
||||||
Csv,
|
Csv,
|
||||||
|
|
|
@ -70,6 +70,9 @@ impl Modify for SecurityAddon {
|
||||||
super::v1_oauth2::oauth2_id_scopemap_delete,
|
super::v1_oauth2::oauth2_id_scopemap_delete,
|
||||||
super::v1_oauth2::oauth2_id_sup_scopemap_post,
|
super::v1_oauth2::oauth2_id_sup_scopemap_post,
|
||||||
super::v1_oauth2::oauth2_id_sup_scopemap_delete,
|
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_post,
|
||||||
super::v1_scim::scim_sync_get,
|
super::v1_scim::scim_sync_get,
|
||||||
|
|
||||||
|
@ -216,6 +219,7 @@ impl Modify for SecurityAddon {
|
||||||
internal::Modify,
|
internal::Modify,
|
||||||
internal::ModifyList,
|
internal::ModifyList,
|
||||||
internal::ModifyRequest,
|
internal::ModifyRequest,
|
||||||
|
internal::Oauth2ClaimMapJoin,
|
||||||
internal::OperationError,
|
internal::OperationError,
|
||||||
internal::PasskeyDetail,
|
internal::PasskeyDetail,
|
||||||
internal::PasswordFeedback,
|
internal::PasswordFeedback,
|
||||||
|
|
|
@ -178,7 +178,7 @@ pub(crate) async fn oauth2_id_patch(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[utoipa::path(
|
#[utoipa::path(
|
||||||
patch,
|
post,
|
||||||
path = "/v1/oauth2/{rs_name}/_scopemap/{group}",
|
path = "/v1/oauth2/{rs_name}/_scopemap/{group}",
|
||||||
request_body=Vec<String>,
|
request_body=Vec<String>,
|
||||||
responses(
|
responses(
|
||||||
|
@ -232,7 +232,7 @@ pub(crate) async fn oauth2_id_scopemap_delete(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[utoipa::path(
|
#[utoipa::path(
|
||||||
patch,
|
post,
|
||||||
path = "/v1/oauth2/{rs_name}/_claimmap/{claim_name}/{group}",
|
path = "/v1/oauth2/{rs_name}/_claimmap/{claim_name}/{group}",
|
||||||
request_body=Vec<String>,
|
request_body=Vec<String>,
|
||||||
responses(
|
responses(
|
||||||
|
@ -267,7 +267,7 @@ pub(crate) async fn oauth2_id_claimmap_post(
|
||||||
}
|
}
|
||||||
|
|
||||||
#[utoipa::path(
|
#[utoipa::path(
|
||||||
patch,
|
post,
|
||||||
path = "/v1/oauth2/{rs_name}/_claimmap/{claim_name}",
|
path = "/v1/oauth2/{rs_name}/_claimmap/{claim_name}",
|
||||||
request_body=Oauth2ClaimMapJoin,
|
request_body=Oauth2ClaimMapJoin,
|
||||||
responses(
|
responses(
|
||||||
|
|
Loading…
Reference in a new issue