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
[x] Bug Fix (non-breaking fixes to existing functionality)
[ ] New Feature (non-breaking changes that add new functionality)
[x] Documentation update
[ ] Test Updates
[ ] Other (Please describe the type)
Test Information
[ ] My PR required test updates
Go Version: go version go1.22.1 darwin/arm64
Os Version:
OpenAPI Spec Version: 23.4.0 Darwin Kernel Version 23.4.0
Signoff
[x] I have submitted a CLA for this PR
[x] Each commit message explains what the commit does
[x] I have updated documentation to explain what my PR does
[x] My code is covered by tests if required
[x] I ran make fmt on my code
[x] I did not edit any automatically generated files
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-ranmake 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 alladditionalProperties
in the specs and do the same, but wanted to get some feedback on the fix firstType 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
make fmt
on my code