mirror of
https://github.com/kanidm/kanidm.git
synced 2025-05-24 01:43:55 +02:00
fix: typos in OpenApi (#2827)
This commit is contained in:
parent
7d28a3dd23
commit
074646bcf3
|
@ -37,6 +37,7 @@
|
|||
- Jinna Kiisuo (jinnatar)
|
||||
- Merlijn Verstraete (ToxicMushroom)
|
||||
- Tobias Krischer (tobikris)
|
||||
- Daniil Egortsev (playhardgopro)
|
||||
|
||||
## Acknowledgements
|
||||
|
||||
|
|
|
@ -1238,7 +1238,7 @@ pub async fn account_user_auth_token_delete(
|
|||
}
|
||||
|
||||
#[utoipa::path(
|
||||
get,
|
||||
post,
|
||||
path = "/v1/credential/_exchange_intent",
|
||||
params(
|
||||
),
|
||||
|
@ -1263,7 +1263,7 @@ pub async fn credential_update_exchange_intent(
|
|||
}
|
||||
|
||||
#[utoipa::path(
|
||||
get,
|
||||
post,
|
||||
path = "/v1/credential/_status",
|
||||
responses(
|
||||
(status=200), // TODO: define response
|
||||
|
|
|
@ -236,7 +236,7 @@ impl Component for CreateResetCode {
|
|||
|
||||
impl CreateResetCode {
|
||||
async fn credential_get_update_intent_token(id: String) -> Result<Msg, FetchError> {
|
||||
let uri = format!("/v1/person/{}/_credential/_update_intent?ttl=0", id);
|
||||
let uri = format!("/v1/person/{}/_credential/_update_intent/0", id);
|
||||
|
||||
let (kopid, status, value, _) =
|
||||
do_request(&uri, RequestMethod::GET, None::<JsValue>).await?;
|
||||
|
|
Loading…
Reference in a new issue