Skip to content

Commit da76abf

Browse files
use RealmRepresentation as body for realm partialImport (#160)
* updated body parameter's type to Value in partial import * use RealmRepresentation as body for realm partialImport --------- Co-authored-by: Alexander Korolev <alexander.korolev.germany@gmail.com>
1 parent 3aa8106 commit da76abf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

examples/openapi.patch.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[path."/admin/realms:post:body"]
22
from_type = "String"
33
rust_type = "RealmRepresentation"
4+
[path."/admin/realms/{realm}/partialImport:post:body"]
5+
from_type = "String"
6+
rust_type = "RealmRepresentation"
47
[path."/admin/realms/{realm}/authentication/register-required-action:post:body"]
58
from_type = "TypeMap<String, String>"
69
rust_type = "RequiredActionProviderRepresentation"

src/rest/generated_rest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7719,7 +7719,7 @@ impl<TS: KeycloakTokenSupplier> KeycloakAdmin<TS> {
77197719
pub async fn realm_partial_import_post(
77207720
&self,
77217721
realm: &str,
7722-
body: String,
7722+
body: RealmRepresentation,
77237723
) -> Result<Value, KeycloakError> {
77247724
let realm = p(realm);
77257725
let builder = self

0 commit comments

Comments
 (0)