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

Enhance error handling 202311 #279

Merged
merged 10 commits into from
Nov 9, 2023
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
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
# Release (Unreleased)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.11.0
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* `github.com/patrickcping/pingone-go-sdk-v2/agreementmanagement` : [v0.3.0](./agreementmanagement/CHANGELOG.md)
* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* `github.com/patrickcping/pingone-go-sdk-v2/authorize` : [v0.4.0](./authorize/CHANGELOG.md)
* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* `github.com/patrickcping/pingone-go-sdk-v2/credentials` : [v0.6.0](./credentials/CHANGELOG.md)
* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* `github.com/patrickcping/pingone-go-sdk-v2/management` : [v0.32.0](./management/CHANGELOG.md)
* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* `github.com/patrickcping/pingone-go-sdk-v2/mfa` : [v0.18.0](./mfa/CHANGELOG.md)
* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* `github.com/patrickcping/pingone-go-sdk-v2/risk` : [v0.12.0](./risk/CHANGELOG.md)
* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* `github.com/patrickcping/pingone-go-sdk-v2/verify` : [v0.4.0](./verify/CHANGELOG.md)
* **Enhancement** Added the `InspectionType` property to the `GovernmentIdConfiguration` object model. [#278](https://github.com/patrickcping/pingone-go-sdk-v2/pull/278)
* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)

# Release (2023-11-01)

Expand Down
2 changes: 1 addition & 1 deletion agreementmanagement/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.2
0.3.0
5 changes: 5 additions & 0 deletions agreementmanagement/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.3.0 (Unreleased)

* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)

# v0.2.2 (2023-10-16)

* **Note** Updated the default UserAgent string format. [#255](https://github.com/patrickcping/pingone-go-sdk-v2/pull/255)
Expand Down
2 changes: 1 addition & 1 deletion agreementmanagement/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 Agreement Management 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.2.2
- Package version: 0.3.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
22 changes: 22 additions & 0 deletions agreementmanagement/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ paths:
schema:
$ref: '#/components/schemas/P1Error'
description: Not found.
"409":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Conflict.
"429":
content:
application/json:
Expand Down Expand Up @@ -136,6 +142,18 @@ components:
schema:
$ref: '#/components/schemas/P1Error'
description: Not found.
"405":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: "Invalid request received. Malformed JSON, malformed HTTP request."
"409":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Conflict.
"429":
content:
application/json:
Expand Down Expand Up @@ -209,6 +227,10 @@ components:
maximumValue:
description: The maximum value allowed for the request.
type: integer
referencedValues:
items:
type: string
type: array
type: object
P1Error_details_inner:
properties:
Expand Down
11 changes: 11 additions & 0 deletions agreementmanagement/api_agreement_revisions_resources.go

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

2 changes: 1 addition & 1 deletion agreementmanagement/configuration.go

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

26 changes: 26 additions & 0 deletions agreementmanagement/docs/P1ErrorDetailsInnerInnerError.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**AllowedPattern** | Pointer to **string** | A regex pattern describing an acceptable input pattern. | [optional]
**AllowedValues** | Pointer to **[]string** | A list describing acceptable values. | [optional]
**MaximumValue** | Pointer to **int32** | The maximum value allowed for the request. | [optional]
**ReferencedValues** | Pointer to **[]string** | | [optional]

## Methods

Expand Down Expand Up @@ -154,6 +155,31 @@ SetMaximumValue sets MaximumValue field to given value.

HasMaximumValue returns a boolean if a field has been set.

### GetReferencedValues

`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValues() []string`

GetReferencedValues returns the ReferencedValues field if non-nil, zero value otherwise.

### GetReferencedValuesOk

`func (o *P1ErrorDetailsInnerInnerError) GetReferencedValuesOk() (*[]string, bool)`

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

### SetReferencedValues

`func (o *P1ErrorDetailsInnerInnerError) SetReferencedValues(v []string)`

SetReferencedValues sets ReferencedValues field to given value.

### HasReferencedValues

`func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool`

HasReferencedValues returns a boolean if a field has been set.


[[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
18 changes: 18 additions & 0 deletions agreementmanagement/generate/pingone-agreementmanagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ components:
maximumValue:
description: The maximum value allowed for the request.
type: integer
referencedValues:
type: array
items:
type: string
responses:
'400':
description: Invalid request received. Malformed JSON, malformed HTTP request.
Expand All @@ -115,6 +119,18 @@ components:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
'405':
description: Invalid request received. Malformed JSON, malformed HTTP request.
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
'409':
description: Conflict.
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
'429':
description: Request was rate limited
content:
Expand Down Expand Up @@ -168,6 +184,8 @@ paths:
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'409':
$ref: '#/components/responses/409'
'429':
$ref: '#/components/responses/429'
'500':
Expand Down
2 changes: 1 addition & 1 deletion agreementmanagement/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/agreementmanagement

go 1.18

require golang.org/x/exp v0.0.0-20230905200255-921286631fa9
require golang.org/x/exp v0.0.0-20231108232855-2478ac86f678
4 changes: 2 additions & 2 deletions agreementmanagement/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g=
golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k=
golang.org/x/exp v0.0.0-20231108232855-2478ac86f678 h1:mchzmB1XO2pMaKFRqk/+MV3mgGG96aqaPXaMifQU47w=
golang.org/x/exp v0.0.0-20231108232855-2478ac86f678/go.mod h1:zk2irFbV9DP96SEBUUAy67IdHUaZuSnrz1n472HUCLE=
36 changes: 36 additions & 0 deletions agreementmanagement/model_p1_error_details_inner_inner_error.go

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

2 changes: 1 addition & 1 deletion authorize/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.4.0
5 changes: 5 additions & 0 deletions authorize/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# v0.4.0 (Unreleased)

* **Enhancement** Add API error handling for `409` errors. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)
* **Enhancement** Added the `ReferencedValues` property to the `P1ErrorDetailsInnerInnerError` object model. [#279](https://github.com/patrickcping/pingone-go-sdk-v2/pull/279)

# v0.3.1 (2023-10-16)

* **Note** Unskip read only attributes when converting API models to maps. [#255](https://github.com/patrickcping/pingone-go-sdk-v2/pull/255)
Expand Down
2 changes: 1 addition & 1 deletion authorize/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 Authorize 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.3.1
- Package version: 0.4.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
Loading
Loading