Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid value for EnumMFADevicePolicySelection model #289

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Release (2023-11-29) (2)

* `github.com/patrickcping/pingone-go-sdk-v2/mfa` : [v0.18.1](./mfa/CHANGELOG.md)
* **Bug** Fixed invalid value for `EnumMFADevicePolicySelection` model. `ALWAYS_PROMPT_TO_SELECT` corrected to `ALWAYS_DISPLAY_DEVICES`. [#289](https://github.com/patrickcping/pingone-go-sdk-v2/pull/289)

# Release (2023-11-29)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.11.1
Expand Down
2 changes: 1 addition & 1 deletion mfa/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.18.0
0.18.1
4 changes: 4 additions & 0 deletions mfa/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.18.1 (2023-11-29)

* **Bug** Fixed invalid value for `EnumMFADevicePolicySelection` model. `ALWAYS_PROMPT_TO_SELECT` corrected to `ALWAYS_DISPLAY_DEVICES`. [#289](https://github.com/patrickcping/pingone-go-sdk-v2/pull/289)

# v0.18.0 (2023-11-10)

* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
Expand Down
2 changes: 1 addition & 1 deletion mfa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne MFA service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.18.0
- Package version: 0.18.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
4 changes: 2 additions & 2 deletions mfa/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3914,12 +3914,12 @@ components:
The default method that should be used for authentication. Can take one of the following values:
* `DEFAULT_TO_FIRST` - use the method that the user set as their default
* `PROMPT_TO_SELECT` - always have the user select the method to use if there is more than one method available
* `ALWAYS_PROMPT_TO_SELECT` - always have the user select the method to use even if there is only one method available
* `ALWAYS_DISPLAY_DEVICES` - always have the user select the method to use even if there is only one method available
If this parameter is not provided, the `DEFAULT_TO_FIRST` option is used.
enum:
- DEFAULT_TO_FIRST
- PROMPT_TO_SELECT
- ALWAYS_PROMPT_TO_SELECT
- ALWAYS_DISPLAY_DEVICES
type: string
EnumMFAPushCredentialAttrType:
description: |
Expand Down
2 changes: 1 addition & 1 deletion mfa/configuration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mfa/docs/EnumMFADevicePolicySelection.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

* `PROMPT_TO_SELECT` (value: `"PROMPT_TO_SELECT"`)

* `ALWAYS_PROMPT_TO_SELECT` (value: `"ALWAYS_PROMPT_TO_SELECT"`)
* `ALWAYS_DISPLAY_DEVICES` (value: `"ALWAYS_DISPLAY_DEVICES"`)


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
4 changes: 2 additions & 2 deletions mfa/generate/pingone-mfa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,12 @@ components:
If the parameter is not provided, the default value is `EMAIL_THEN_SMS`.
EnumMFADevicePolicySelection:
type: string
enum: [DEFAULT_TO_FIRST, PROMPT_TO_SELECT, ALWAYS_PROMPT_TO_SELECT]
enum: [DEFAULT_TO_FIRST, PROMPT_TO_SELECT, ALWAYS_DISPLAY_DEVICES]
description: |
The default method that should be used for authentication. Can take one of the following values:
* `DEFAULT_TO_FIRST` - use the method that the user set as their default
* `PROMPT_TO_SELECT` - always have the user select the method to use if there is more than one method available
* `ALWAYS_PROMPT_TO_SELECT` - always have the user select the method to use even if there is only one method available
* `ALWAYS_DISPLAY_DEVICES` - always have the user select the method to use even if there is only one method available
If this parameter is not provided, the `DEFAULT_TO_FIRST` option is used.
EnumMFAPushCredentialAttrType:
type: string
Expand Down
2 changes: 1 addition & 1 deletion mfa/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/mfa

go 1.18

require golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa
require golang.org/x/exp v0.0.0-20231127185646-65229373498e
4 changes: 2 additions & 2 deletions mfa/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa h1:FRnLl4eNAQl8hwxVVC17teOw8kdjVDVAiFMtgUdTSRQ=
golang.org/x/exp v0.0.0-20231110203233-9a3e6036ecaa/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE=
golang.org/x/exp v0.0.0-20231127185646-65229373498e h1:Gvh4YaCaXNs6dKTlfgismwWZKyjVZXwOPfIyUaqU3No=
golang.org/x/exp v0.0.0-20231127185646-65229373498e/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
6 changes: 3 additions & 3 deletions mfa/model_enum_mfa_device_policy_selection.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading