Skip to content

Commit be66b11

Browse files
Merge pull request #484 from okta/OKTA-790273-fix-unmarshaling-error
fix unmarshal error
2 parents 4caa39b + 337d20e commit be66b11

15 files changed

+103
-131
lines changed

.circleci/config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ workflows:
4141
# See OKTA-729389
4242
semgrep:
4343
jobs:
44-
- platform-orb/job-semgrep-prepare:
45-
name: semgrep-prepare
4644
- platform-orb/job-semgrep-scan:
4745
name: "Scan with Semgrep"
4846
resource-class: "medium"

.generator/okta-management-APIs-oasv3-noEnums-inheritance.yaml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -39616,9 +39616,7 @@ components:
3961639616
readOnly: true
3961739617
detailEntry:
3961839618
type: object
39619-
additionalProperties:
39620-
type: object
39621-
properties: {}
39619+
additionalProperties: true
3962239620
readOnly: true
3962339621
displayName:
3962439622
type: string
@@ -39703,9 +39701,7 @@ components:
3970339701
properties:
3970439702
debugData:
3970539703
type: object
39706-
additionalProperties:
39707-
type: object
39708-
properties: {}
39704+
additionalProperties: true
3970939705
readOnly: true
3971039706
LogEvent:
3971139707
type: object
@@ -40083,21 +40079,15 @@ components:
4008340079
from:
4008440080
type: object
4008540081
description: The original properties of the target
40086-
additionalProperties:
40087-
type: object
40088-
properties: {}
40082+
additionalProperties: true
4008940083
to:
4009040084
type: object
4009140085
description: The updated properties of the target
40092-
additionalProperties:
40093-
type: object
40094-
properties: {}
40086+
additionalProperties: true
4009540087
detailEntry:
4009640088
type: object
4009740089
description: Further details on the target
40098-
additionalProperties:
40099-
type: object
40100-
properties: {}
40090+
additionalProperties: true
4010140091
readOnly: true
4010240092
displayName:
4010340093
type: string
@@ -40116,9 +40106,7 @@ components:
4011640106
properties:
4011740107
detail:
4011840108
type: object
40119-
additionalProperties:
40120-
type: object
40121-
properties: {}
40109+
additionalProperties: true
4012240110
readOnly: true
4012340111
id:
4012440112
type: string
@@ -44279,8 +44267,7 @@ components:
4427944267
properties:
4428044268
app:
4428144269
type: object
44282-
additionalProperties:
44283-
type: string
44270+
additionalProperties: true
4428444271
signOn:
4428544272
$ref: '#/components/schemas/Saml11ApplicationSettingsSignOn'
4428644273
Saml11ApplicationSettingsSignOn:

okta/api/openapi.yaml

Lines changed: 24 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -61265,16 +61265,14 @@ components:
6126561265
displayName: displayName
6126661266
id: id
6126761267
detailEntry:
61268-
key: "{}"
61268+
key: ""
6126961269
type: type
6127061270
properties:
6127161271
alternateId:
6127261272
readOnly: true
6127361273
type: string
6127461274
detailEntry:
61275-
additionalProperties:
61276-
properties: {}
61277-
type: object
61275+
additionalProperties: true
6127861276
readOnly: true
6127961277
type: object
6128061278
displayName:
@@ -61410,12 +61408,10 @@ components:
6141061408
LogDebugContext:
6141161409
example:
6141261410
debugData:
61413-
key: "{}"
61411+
key: ""
6141461412
properties:
6141561413
debugData:
61416-
additionalProperties:
61417-
properties: {}
61418-
type: object
61414+
additionalProperties: true
6141961415
readOnly: true
6142061416
type: object
6142161417
type: object
@@ -61471,34 +61467,34 @@ components:
6147161467
displayName: displayName
6147261468
id: id
6147361469
detailEntry:
61474-
key: "{}"
61470+
key: ""
6147561471
type: type
6147661472
changeDetails:
6147761473
from:
61478-
key: "{}"
61474+
key: ""
6147961475
to:
61480-
key: "{}"
61476+
key: ""
6148161477
- alternateId: alternateId
6148261478
displayName: displayName
6148361479
id: id
6148461480
detailEntry:
61485-
key: "{}"
61481+
key: ""
6148661482
type: type
6148761483
changeDetails:
6148861484
from:
61489-
key: "{}"
61485+
key: ""
6149061486
to:
61491-
key: "{}"
61487+
key: ""
6149261488
actor:
6149361489
alternateId: alternateId
6149461490
displayName: displayName
6149561491
id: id
6149661492
detailEntry:
61497-
key: "{}"
61493+
key: ""
6149861494
type: type
6149961495
debugContext:
6150061496
debugData:
61501-
key: "{}"
61497+
key: ""
6150261498
displayMessage: displayMessage
6150361499
client:
6150461500
zone: zone
@@ -61523,7 +61519,7 @@ components:
6152361519
reason: reason
6152461520
transaction:
6152561521
detail:
61526-
key: "{}"
61522+
key: ""
6152761523
id: id
6152861524
type: type
6152961525
properties:
@@ -62066,13 +62062,13 @@ components:
6206662062
displayName: displayName
6206762063
id: id
6206862064
detailEntry:
62069-
key: "{}"
62065+
key: ""
6207062066
type: type
6207162067
changeDetails:
6207262068
from:
62073-
key: "{}"
62069+
key: ""
6207462070
to:
62075-
key: "{}"
62071+
key: ""
6207662072
properties:
6207762073
alternateId:
6207862074
description: The alternate ID of the target
@@ -62081,9 +62077,7 @@ components:
6208162077
changeDetails:
6208262078
$ref: '#/components/schemas/LogTarget_changeDetails'
6208362079
detailEntry:
62084-
additionalProperties:
62085-
properties: {}
62086-
type: object
62080+
additionalProperties: true
6208762081
description: Further details on the target
6208862082
readOnly: true
6208962083
type: object
@@ -62103,14 +62097,12 @@ components:
6210362097
LogTransaction:
6210462098
example:
6210562099
detail:
62106-
key: "{}"
62100+
key: ""
6210762101
id: id
6210862102
type: type
6210962103
properties:
6211062104
detail:
62111-
additionalProperties:
62112-
properties: {}
62113-
type: object
62105+
additionalProperties: true
6211462106
readOnly: true
6211562107
type: object
6211662108
id:
@@ -67219,8 +67211,7 @@ components:
6721967211
- $ref: '#/components/schemas/ApplicationSettings'
6722067212
- properties:
6722167213
app:
67222-
additionalProperties:
67223-
type: string
67214+
additionalProperties: true
6722467215
type: object
6722567216
signOn:
6722667217
$ref: '#/components/schemas/Saml11ApplicationSettingsSignOn'
@@ -79312,20 +79303,16 @@ components:
7931279303
property within the object.
7931379304
example:
7931479305
from:
79315-
key: "{}"
79306+
key: ""
7931679307
to:
79317-
key: "{}"
79308+
key: ""
7931879309
properties:
7931979310
from:
79320-
additionalProperties:
79321-
properties: {}
79322-
type: object
79311+
additionalProperties: true
7932379312
description: The original properties of the target
7932479313
type: object
7932579314
to:
79326-
additionalProperties:
79327-
properties: {}
79328-
type: object
79315+
additionalProperties: true
7932979316
description: The updated properties of the target
7933079317
type: object
7933179318
type: object

okta/docs/LogActor.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**AlternateId** | Pointer to **string** | | [optional] [readonly]
8-
**DetailEntry** | Pointer to **map[string]map[string]interface{}** | | [optional] [readonly]
8+
**DetailEntry** | Pointer to **map[string]interface{}** | | [optional] [readonly]
99
**DisplayName** | Pointer to **string** | | [optional] [readonly]
1010
**Id** | Pointer to **string** | | [optional] [readonly]
1111
**Type** | Pointer to **string** | | [optional] [readonly]
@@ -56,20 +56,20 @@ HasAlternateId returns a boolean if a field has been set.
5656

5757
### GetDetailEntry
5858

59-
`func (o *LogActor) GetDetailEntry() map[string]map[string]interface{}`
59+
`func (o *LogActor) GetDetailEntry() map[string]interface{}`
6060

6161
GetDetailEntry returns the DetailEntry field if non-nil, zero value otherwise.
6262

6363
### GetDetailEntryOk
6464

65-
`func (o *LogActor) GetDetailEntryOk() (*map[string]map[string]interface{}, bool)`
65+
`func (o *LogActor) GetDetailEntryOk() (*map[string]interface{}, bool)`
6666

6767
GetDetailEntryOk returns a tuple with the DetailEntry field if it's non-nil, zero value otherwise
6868
and a boolean to check if the value has been set.
6969

7070
### SetDetailEntry
7171

72-
`func (o *LogActor) SetDetailEntry(v map[string]map[string]interface{})`
72+
`func (o *LogActor) SetDetailEntry(v map[string]interface{})`
7373

7474
SetDetailEntry sets DetailEntry field to given value.
7575

okta/docs/LogDebugContext.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**DebugData** | Pointer to **map[string]map[string]interface{}** | | [optional] [readonly]
7+
**DebugData** | Pointer to **map[string]interface{}** | | [optional] [readonly]
88

99
## Methods
1010

@@ -27,20 +27,20 @@ but it doesn't guarantee that properties required by API are set
2727

2828
### GetDebugData
2929

30-
`func (o *LogDebugContext) GetDebugData() map[string]map[string]interface{}`
30+
`func (o *LogDebugContext) GetDebugData() map[string]interface{}`
3131

3232
GetDebugData returns the DebugData field if non-nil, zero value otherwise.
3333

3434
### GetDebugDataOk
3535

36-
`func (o *LogDebugContext) GetDebugDataOk() (*map[string]map[string]interface{}, bool)`
36+
`func (o *LogDebugContext) GetDebugDataOk() (*map[string]interface{}, bool)`
3737

3838
GetDebugDataOk returns a tuple with the DebugData field if it's non-nil, zero value otherwise
3939
and a boolean to check if the value has been set.
4040

4141
### SetDebugData
4242

43-
`func (o *LogDebugContext) SetDebugData(v map[string]map[string]interface{})`
43+
`func (o *LogDebugContext) SetDebugData(v map[string]interface{})`
4444

4545
SetDebugData sets DebugData field to given value.
4646

okta/docs/LogTarget.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**AlternateId** | Pointer to **string** | The alternate ID of the target | [optional] [readonly]
88
**ChangeDetails** | Pointer to [**LogTargetChangeDetails**](LogTargetChangeDetails.md) | | [optional]
9-
**DetailEntry** | Pointer to **map[string]map[string]interface{}** | Further details on the target | [optional] [readonly]
9+
**DetailEntry** | Pointer to **map[string]interface{}** | Further details on the target | [optional] [readonly]
1010
**DisplayName** | Pointer to **string** | The display name of the target | [optional] [readonly]
1111
**Id** | Pointer to **string** | The ID of the target | [optional] [readonly]
1212
**Type** | Pointer to **string** | The type of target | [optional] [readonly]
@@ -82,20 +82,20 @@ HasChangeDetails returns a boolean if a field has been set.
8282

8383
### GetDetailEntry
8484

85-
`func (o *LogTarget) GetDetailEntry() map[string]map[string]interface{}`
85+
`func (o *LogTarget) GetDetailEntry() map[string]interface{}`
8686

8787
GetDetailEntry returns the DetailEntry field if non-nil, zero value otherwise.
8888

8989
### GetDetailEntryOk
9090

91-
`func (o *LogTarget) GetDetailEntryOk() (*map[string]map[string]interface{}, bool)`
91+
`func (o *LogTarget) GetDetailEntryOk() (*map[string]interface{}, bool)`
9292

9393
GetDetailEntryOk returns a tuple with the DetailEntry field if it's non-nil, zero value otherwise
9494
and a boolean to check if the value has been set.
9595

9696
### SetDetailEntry
9797

98-
`func (o *LogTarget) SetDetailEntry(v map[string]map[string]interface{})`
98+
`func (o *LogTarget) SetDetailEntry(v map[string]interface{})`
9999

100100
SetDetailEntry sets DetailEntry field to given value.
101101

0 commit comments

Comments
 (0)