okta / okta-sdk-golang

A Golang SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
https://github.com/okta/okta-sdk-golang
Other
175 stars 143 forks source link

schema enum one of #312

Closed monde closed 2 years ago

monde commented 2 years ago

Summary

Making the property named enum on GroupSchemaAttribute, UserSchemaAttribute, and UserSchemaAttributeItems be a slice of interfaces as the value can typed as an array of string, number, boolean, integer, or array in terms of JSON and the payload sent to the API. Additionally making the property const on UserSchemaAttributeEnum be an interface as the value can typed as string, number, boolean, integer, or array in terms of JSON and the payload sent to the API.

Type of PR

Test Information

One new test

monde commented 2 years ago

This was released in v2.13.0 https://github.com/okta/okta-sdk-golang/releases/tag/v2.13.0