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

Update generator to v7.8.0 #69

Merged
merged 2 commits into from
Aug 28, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions api_beta/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ docs/CompleteInvocationInput.md
docs/CompletedApproval.md
docs/CompletedApprovalPreApprovalTriggerResult.md
docs/CompletedApprovalReviewedBy.md
docs/CompletedApprovalReviewerComment.md
docs/CompletedApprovalState.md
docs/CompletionStatus.md
docs/ConditionEffect.md
Expand Down Expand Up @@ -1183,7 +1182,6 @@ model_complete_invocation_input.go
model_completed_approval.go
model_completed_approval_pre_approval_trigger_result.go
model_completed_approval_reviewed_by.go
model_completed_approval_reviewer_comment.go
model_completed_approval_state.go
model_completion_status.go
model_condition_effect.go
Expand Down
2 changes: 1 addition & 1 deletion api_beta/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.1.0
7.8.0
26 changes: 13 additions & 13 deletions api_beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,29 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat

- API version: 3.1.0-beta
- Package version: 2.1.8
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen
For more information, please visit [https://developer.sailpoint.com/discuss/api-help](https://developer.sailpoint.com/discuss/api-help)

## Installation

Install the following dependencies:

```shell
```sh
go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
```

Put the package under your project folder and add the following in import:

```golang
```go
import api_beta "github.com/sailpoint-oss/golang-sdk/v2"
```

To use a proxy, set the environment variable `HTTP_PROXY`:

```golang
```go
os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")
```

Expand All @@ -40,15 +41,15 @@ Default configuration comes with `Servers` field that contains server objects as

For using other server than the one defined on index 0 set context value `api_beta.ContextServerIndex` of type `int`.

```golang
```go
ctx := context.WithValue(context.Background(), api_beta.ContextServerIndex, 1)
```

### Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value `api_beta.ContextServerVariables` of type `map[string]string`.

```golang
```go
ctx := context.WithValue(context.Background(), api_beta.ContextServerVariables, map[string]string{
"basePath": "v2",
})
Expand All @@ -62,7 +63,7 @@ Each operation can use different server URL defined using `OperationServers` map
An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
Similar rules for overriding default operation server index and variables applies by using `api_beta.ContextOperationServerIndices` and `api_beta.ContextOperationServerVariables` context maps.

```golang
```go
ctx := context.WithValue(context.Background(), api_beta.ContextOperationServerIndices, map[string]int{
"{classname}Service.{nickname}": 2,
})
Expand Down Expand Up @@ -799,7 +800,6 @@ Class | Method | HTTP request | Description
- [CompletedApproval](docs/CompletedApproval.md)
- [CompletedApprovalPreApprovalTriggerResult](docs/CompletedApprovalPreApprovalTriggerResult.md)
- [CompletedApprovalReviewedBy](docs/CompletedApprovalReviewedBy.md)
- [CompletedApprovalReviewerComment](docs/CompletedApprovalReviewerComment.md)
- [CompletedApprovalState](docs/CompletedApprovalState.md)
- [CompletionStatus](docs/CompletionStatus.md)
- [ConditionEffect](docs/ConditionEffect.md)
Expand Down Expand Up @@ -1456,14 +1456,14 @@ Authentication schemes defined for the API:

Example

```golang
```go
auth := context.WithValue(context.Background(), api_beta.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)
```

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

```golang
```go
import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */
Expand All @@ -1485,14 +1485,14 @@ r, err := client.Service.Operation(auth, args)

Example

```golang
```go
auth := context.WithValue(context.Background(), api_beta.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)
```

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

```golang
```go
import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */
Expand All @@ -1513,14 +1513,14 @@ r, err := client.Service.Operation(auth, args)

Example

```golang
```go
auth := context.WithValue(context.Background(), api_beta.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)
```

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

```golang
```go
import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */
Expand Down
Loading
Loading