sdk: rust serialize error: UiNodeInputAttributesValue
server info server_version: ory_kratos v0.6.0.alpha2
client_sdk language: rust version: v0.6.0.alpha17
bug info
- when ::public_api::calling initialize_self_service_registration_via_api_flow, the success return struct is RegistrationFlow, which contains nested type ui -> UiContainer -> Vec<UiNode> ->UiNodeInputAttributesValue
- the return value gives string while the generated struct as empty struct.
error log:
Message: called `Result::unwrap()` on an `Err` value: Serde(Error("invalid type: string \"\", expected struct UiNodeInputAttributesValue", line: 1, column: 443))
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (10 by maintainers)
Commits related to this issue
- fix: remove typing from node.attribute.value Closes https://github.com/ory/sdk/issues/75 Closes https://github.com/ory/sdk/issues/74 Closes https://github.com/ory/sdk/issues/72 — committed to ory/kratos by aeneasr 3 years ago
- fix: remove typing from node.attribute.value Closes https://github.com/ory/sdk/issues/75 Closes https://github.com/ory/sdk/issues/74 Closes https://github.com/ory/sdk/issues/72 — committed to ory/kratos by aeneasr 3 years ago
- fix: remove typing from node.attribute.value Closes https://github.com/ory/sdk/issues/75 Closes https://github.com/ory/sdk/issues/74 Closes https://github.com/ory/sdk/issues/72 — committed to ory/kratos by aeneasr 3 years ago
- feat: add script type and discriminator for attributes See https://github.com/ory/sdk/issues/72 — committed to ory/kratos by aeneasr 3 years ago
- feat: add script type and discriminator for attributes See https://github.com/ory/sdk/issues/72 — committed to ory/kratos by aeneasr 3 years ago
- feat: add script type and discriminator for attributes See https://github.com/ory/sdk/issues/72 — committed to ory/kratos by aeneasr 3 years ago
- feat: add script type and discriminator for attributes See https://github.com/ory/sdk/issues/72 — committed to ory/kratos by aeneasr 3 years ago
I found some issues in our OpenAPI Spec which have been resolved in Ory Kratos master and
cargo testnow passes for the newest spec!Linked error for reference https://github.com/OpenAPITools/openapi-generator/issues/9497