Skip to content

Commit

Permalink
revert generator version uplift
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickcping committed Nov 23, 2023
1 parent fb8cdeb commit 185e519
Show file tree
Hide file tree
Showing 207 changed files with 15 additions and 8,017 deletions.
2 changes: 1 addition & 1 deletion management/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.1.0
7.0.1
8 changes: 4 additions & 4 deletions management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ Default configuration comes with `Servers` field that contains server objects as

### Select Server Configuration

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

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

### Templated Server URL

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

```golang
ctx := context.WithValue(context.Background(), management.ContextServerVariables, map[string]string{
Expand All @@ -58,7 +58,7 @@ Note, enum values are always validated and all unused variables are silently ign

Each operation can use different server URL defined using `OperationServers` map in the `Configuration`.
An operation is uniquely identified by `"{classname}Service.{nickname}"` string.
Similar rules for overriding default operation server index and variables applies by using `management.ContextOperationServerIndices` and `management.ContextOperationServerVariables` context maps.
Similar rules for overriding default operation server index and variables applies by using `sw.ContextOperationServerIndices` and `sw.ContextOperationServerVariables` context maps.

```golang
ctx := context.WithValue(context.Background(), management.ContextOperationServerIndices, map[string]int{
Expand Down Expand Up @@ -906,7 +906,7 @@ Authentication schemes defined for the API:
Example

```golang
auth := context.WithValue(context.Background(), management.ContextAccessToken, "BEARER_TOKEN_STRING")
auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)
```

Expand Down
39 changes: 0 additions & 39 deletions management/model_agreement.go

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

40 changes: 0 additions & 40 deletions management/model_agreement_language.go

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

41 changes: 0 additions & 41 deletions management/model_agreement_language_revision.go

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

39 changes: 0 additions & 39 deletions management/model_alert_channel.go

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

41 changes: 0 additions & 41 deletions management/model_application.go

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

Loading

0 comments on commit 185e519

Please sign in to comment.