You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IGA admin roles ACCESS_CERTIFICATIONS_ADMIN and ACCESS_REQUESTS_ADMIN are missing from the RoleType in the OpenAPI spec, resulting in null value when deserializing.
What is expected to happen?
The enum values should exist and the com.okta.sdk.resource.model.Role instance should contain these values.
What is the actual behavior?
A null value is set in the deserialized com.okta.sdk.resource.model.Role instance.
Reproduction Steps?
Get the roles of user with any of the IGA role admins.
Additional Information?
You should consider enabling enumUnknownDefaultCase in the OpenAPI generator to have a default enum value (still not ideal, but better than a null value).
Java Version
any
SDK Version
15
OS version
No response
The text was updated successfully, but these errors were encountered:
ACCESS_CERTIFICATIONS_ADMIN & ACCESS_REQUESTS_ADMIN role types are currently missing from spec because they are not GA (Generally Available) yet (from Okta core API's side). These are in EA (Early Access) stage presently, and will be added to spec when they are GA.
Thanks for the quick answer! However, would you still consider adding the enumUnknownDefaultCase flag to the OpenAPI generation. It will avoid NPE in consumer code when unknown enums are encountered.
Describe the bug?
IGA admin roles ACCESS_CERTIFICATIONS_ADMIN and ACCESS_REQUESTS_ADMIN are missing from the RoleType in the OpenAPI spec, resulting in null value when deserializing.
What is expected to happen?
The enum values should exist and the com.okta.sdk.resource.model.Role instance should contain these values.
What is the actual behavior?
A null value is set in the deserialized com.okta.sdk.resource.model.Role instance.
Reproduction Steps?
Get the roles of user with any of the IGA role admins.
Additional Information?
You should consider enabling enumUnknownDefaultCase in the OpenAPI generator to have a default enum value (still not ideal, but better than a null value).
Java Version
any
SDK Version
15
OS version
No response
The text was updated successfully, but these errors were encountered: