Skip to content

Commit

Permalink
Merge pull request #484 from okta/OKTA-790273-fix-unmarshaling-error
Browse files Browse the repository at this point in the history
fix unmarshal error
  • Loading branch information
duytiennguyen-okta authored Aug 19, 2024
2 parents 4caa39b + 337d20e commit be66b11
Show file tree
Hide file tree
Showing 15 changed files with 103 additions and 131 deletions.
2 changes: 0 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ workflows:
# See OKTA-729389
semgrep:
jobs:
- platform-orb/job-semgrep-prepare:
name: semgrep-prepare
- platform-orb/job-semgrep-scan:
name: "Scan with Semgrep"
resource-class: "medium"
Expand Down
27 changes: 7 additions & 20 deletions .generator/okta-management-APIs-oasv3-noEnums-inheritance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39616,9 +39616,7 @@ components:
readOnly: true
detailEntry:
type: object
additionalProperties:
type: object
properties: {}
additionalProperties: true
readOnly: true
displayName:
type: string
Expand Down Expand Up @@ -39703,9 +39701,7 @@ components:
properties:
debugData:
type: object
additionalProperties:
type: object
properties: {}
additionalProperties: true
readOnly: true
LogEvent:
type: object
Expand Down Expand Up @@ -40083,21 +40079,15 @@ components:
from:
type: object
description: The original properties of the target
additionalProperties:
type: object
properties: {}
additionalProperties: true
to:
type: object
description: The updated properties of the target
additionalProperties:
type: object
properties: {}
additionalProperties: true
detailEntry:
type: object
description: Further details on the target
additionalProperties:
type: object
properties: {}
additionalProperties: true
readOnly: true
displayName:
type: string
Expand All @@ -40116,9 +40106,7 @@ components:
properties:
detail:
type: object
additionalProperties:
type: object
properties: {}
additionalProperties: true
readOnly: true
id:
type: string
Expand Down Expand Up @@ -44279,8 +44267,7 @@ components:
properties:
app:
type: object
additionalProperties:
type: string
additionalProperties: true
signOn:
$ref: '#/components/schemas/Saml11ApplicationSettingsSignOn'
Saml11ApplicationSettingsSignOn:
Expand Down
61 changes: 24 additions & 37 deletions okta/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61265,16 +61265,14 @@ components:
displayName: displayName
id: id
detailEntry:
key: "{}"
key: ""
type: type
properties:
alternateId:
readOnly: true
type: string
detailEntry:
additionalProperties:
properties: {}
type: object
additionalProperties: true
readOnly: true
type: object
displayName:
Expand Down Expand Up @@ -61410,12 +61408,10 @@ components:
LogDebugContext:
example:
debugData:
key: "{}"
key: ""
properties:
debugData:
additionalProperties:
properties: {}
type: object
additionalProperties: true
readOnly: true
type: object
type: object
Expand Down Expand Up @@ -61471,34 +61467,34 @@ components:
displayName: displayName
id: id
detailEntry:
key: "{}"
key: ""
type: type
changeDetails:
from:
key: "{}"
key: ""
to:
key: "{}"
key: ""
- alternateId: alternateId
displayName: displayName
id: id
detailEntry:
key: "{}"
key: ""
type: type
changeDetails:
from:
key: "{}"
key: ""
to:
key: "{}"
key: ""
actor:
alternateId: alternateId
displayName: displayName
id: id
detailEntry:
key: "{}"
key: ""
type: type
debugContext:
debugData:
key: "{}"
key: ""
displayMessage: displayMessage
client:
zone: zone
Expand All @@ -61523,7 +61519,7 @@ components:
reason: reason
transaction:
detail:
key: "{}"
key: ""
id: id
type: type
properties:
Expand Down Expand Up @@ -62066,13 +62062,13 @@ components:
displayName: displayName
id: id
detailEntry:
key: "{}"
key: ""
type: type
changeDetails:
from:
key: "{}"
key: ""
to:
key: "{}"
key: ""
properties:
alternateId:
description: The alternate ID of the target
Expand All @@ -62081,9 +62077,7 @@ components:
changeDetails:
$ref: '#/components/schemas/LogTarget_changeDetails'
detailEntry:
additionalProperties:
properties: {}
type: object
additionalProperties: true
description: Further details on the target
readOnly: true
type: object
Expand All @@ -62103,14 +62097,12 @@ components:
LogTransaction:
example:
detail:
key: "{}"
key: ""
id: id
type: type
properties:
detail:
additionalProperties:
properties: {}
type: object
additionalProperties: true
readOnly: true
type: object
id:
Expand Down Expand Up @@ -67219,8 +67211,7 @@ components:
- $ref: '#/components/schemas/ApplicationSettings'
- properties:
app:
additionalProperties:
type: string
additionalProperties: true
type: object
signOn:
$ref: '#/components/schemas/Saml11ApplicationSettingsSignOn'
Expand Down Expand Up @@ -79312,20 +79303,16 @@ components:
property within the object.
example:
from:
key: "{}"
key: ""
to:
key: "{}"
key: ""
properties:
from:
additionalProperties:
properties: {}
type: object
additionalProperties: true
description: The original properties of the target
type: object
to:
additionalProperties:
properties: {}
type: object
additionalProperties: true
description: The updated properties of the target
type: object
type: object
Expand Down
8 changes: 4 additions & 4 deletions okta/docs/LogActor.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AlternateId** | Pointer to **string** | | [optional] [readonly]
**DetailEntry** | Pointer to **map[string]map[string]interface{}** | | [optional] [readonly]
**DetailEntry** | Pointer to **map[string]interface{}** | | [optional] [readonly]
**DisplayName** | Pointer to **string** | | [optional] [readonly]
**Id** | Pointer to **string** | | [optional] [readonly]
**Type** | Pointer to **string** | | [optional] [readonly]
Expand Down Expand Up @@ -56,20 +56,20 @@ HasAlternateId returns a boolean if a field has been set.

### GetDetailEntry

`func (o *LogActor) GetDetailEntry() map[string]map[string]interface{}`
`func (o *LogActor) GetDetailEntry() map[string]interface{}`

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

### GetDetailEntryOk

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

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

### SetDetailEntry

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

SetDetailEntry sets DetailEntry field to given value.

Expand Down
8 changes: 4 additions & 4 deletions okta/docs/LogDebugContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**DebugData** | Pointer to **map[string]map[string]interface{}** | | [optional] [readonly]
**DebugData** | Pointer to **map[string]interface{}** | | [optional] [readonly]

## Methods

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

### GetDebugData

`func (o *LogDebugContext) GetDebugData() map[string]map[string]interface{}`
`func (o *LogDebugContext) GetDebugData() map[string]interface{}`

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

### GetDebugDataOk

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

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

### SetDebugData

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

SetDebugData sets DebugData field to given value.

Expand Down
8 changes: 4 additions & 4 deletions okta/docs/LogTarget.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AlternateId** | Pointer to **string** | The alternate ID of the target | [optional] [readonly]
**ChangeDetails** | Pointer to [**LogTargetChangeDetails**](LogTargetChangeDetails.md) | | [optional]
**DetailEntry** | Pointer to **map[string]map[string]interface{}** | Further details on the target | [optional] [readonly]
**DetailEntry** | Pointer to **map[string]interface{}** | Further details on the target | [optional] [readonly]
**DisplayName** | Pointer to **string** | The display name of the target | [optional] [readonly]
**Id** | Pointer to **string** | The ID of the target | [optional] [readonly]
**Type** | Pointer to **string** | The type of target | [optional] [readonly]
Expand Down Expand Up @@ -82,20 +82,20 @@ HasChangeDetails returns a boolean if a field has been set.

### GetDetailEntry

`func (o *LogTarget) GetDetailEntry() map[string]map[string]interface{}`
`func (o *LogTarget) GetDetailEntry() map[string]interface{}`

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

### GetDetailEntryOk

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

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

### SetDetailEntry

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

SetDetailEntry sets DetailEntry field to given value.

Expand Down
Loading

0 comments on commit be66b11

Please sign in to comment.