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
177 stars 143 forks source link

fix: Use `map[string]interface{}` for `AppUser.Profile` and `ApplicationGroupAssignment.Profile` #448

Closed erezrokah closed 4 months ago

erezrokah commented 6 months ago

Summary

Fixes #https://github.com/okta/okta-sdk-golang/issues/447

So what I did is remove the extra empty additionalProperties from the specs and re-ran make v4-generate. Not sure if there's a better way to do it.

The same problem exists in other fields as well (for example ApplicationGroupAssignment.Embedded) so it might be necessary do go over all additionalProperties in the specs and do the same, but wanted to get some feedback on the fix first

Type of PR

Test Information

Go Version: go version go1.22.1 darwin/arm64 Os Version: OpenAPI Spec Version: 23.4.0 Darwin Kernel Version 23.4.0

Signoff

github-actions[bot] commented 5 months ago

This PR has been marked stale because there has been no activity within the last 28 days. To keep this PR active, remove the stale label.

erezrokah commented 5 months ago

Not stale