Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed May 18, 2023
1 parent 6344ee4 commit 7894b56
Show file tree
Hide file tree
Showing 134 changed files with 3,243 additions and 1,110 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,12 @@ Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.1.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.1.0 - go-client-sdk
- [Go v1.1.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.1.0 - go-client-sdk

## 2023-05-18 12:25:20
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.34.0 (2.30.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.1.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.1.1 - go-client-sdk
5 changes: 5 additions & 0 deletions go-client-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ func main() {
* [ServerWithTemplates](docs/servers/README.md#serverwithtemplates)
* [ServerWithTemplatesGlobal](docs/servers/README.md#serverwithtemplatesglobal)

### [Telemetry](docs/telemetry/README.md)

* [TelemetrySpeakeasyUserAgentGet](docs/telemetry/README.md#telemetryspeakeasyuseragentget)
* [TelemetryUserAgentGet](docs/telemetry/README.md#telemetryuseragentget)

### [Unions](docs/unions/README.md)

* [MixedTypeOneOfPost](docs/unions/README.md#mixedtypeoneofpost)
Expand Down
12 changes: 6 additions & 6 deletions go-client-sdk/auth.go

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

20 changes: 10 additions & 10 deletions go-client-sdk/authnew.go

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

79 changes: 79 additions & 0 deletions go-client-sdk/docs/telemetry/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
# Telemetry

## Overview

Endpoints for testing telemetry.

### Available Operations

* [TelemetrySpeakeasyUserAgentGet](#telemetryspeakeasyuseragentget)
* [TelemetryUserAgentGet](#telemetryuseragentget)

## TelemetrySpeakeasyUserAgentGet

### Example Usage

```go
package main

import(
"context"
"log"
"openapi"
"openapi/pkg/models/operations"
)

func main() {
s := sdk.New(
sdk.WithSecurity(shared.Security{
APIKeyAuth: sdk.String("Token YOUR_API_KEY"),
}),
sdk.WithGlobalPathParam(100),
sdk.WithGlobalQueryParam("some example global query param"),
)

ctx := context.Background()
res, err := s.Telemetry.TelemetrySpeakeasyUserAgentGet(ctx, "dolorum")
if err != nil {
log.Fatal(err)
}

if res.Res != nil {
// handle response
}
}
```

## TelemetryUserAgentGet

### Example Usage

```go
package main

import(
"context"
"log"
"openapi"
)

func main() {
s := sdk.New(
sdk.WithSecurity(shared.Security{
APIKeyAuth: sdk.String("Token YOUR_API_KEY"),
}),
sdk.WithGlobalPathParam(100),
sdk.WithGlobalQueryParam("some example global query param"),
)

ctx := context.Background()
res, err := s.Telemetry.TelemetryUserAgentGet(ctx)
if err != nil {
log.Fatal(err)
}

if res.Res != nil {
// handle response
}
}
```
6 changes: 3 additions & 3 deletions go-client-sdk/errors.go

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

4 changes: 4 additions & 0 deletions go-client-sdk/files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ parameters.go
requestbodies.go
responsebodies.go
servers.go
telemetry.go
unions.go
sdk.go
go.mod
Expand Down Expand Up @@ -127,6 +128,8 @@ pkg/models/operations/selectglobalserver.go
pkg/models/operations/selectserverwithid.go
pkg/models/operations/serverwithtemplates.go
pkg/models/operations/serverwithtemplatesglobal.go
pkg/models/operations/telemetryspeakeasyuseragentget.go
pkg/models/operations/telemetryuseragentget.go
pkg/models/operations/mixedtypeoneofpost.go
pkg/models/operations/primitivetypeoneofpost.go
pkg/models/operations/stronglytypedoneofpost.go
Expand Down Expand Up @@ -165,6 +168,7 @@ docs/parameters/README.md
docs/requestbodies/README.md
docs/responsebodies/README.md
docs/servers/README.md
docs/telemetry/README.md
docs/unions/README.md
USAGE.md
pkg/models/operations/options.go
10 changes: 5 additions & 5 deletions go-client-sdk/flattening.go

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

4 changes: 2 additions & 2 deletions go-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
configVersion: 1.0.0
management:
docChecksum: ff2c1441c7d689e0339b5b03ba509741
docChecksum: 948d86c8c8659783f15ecb6484ae3368
docVersion: 0.0.1
speakeasyVersion: 1.34.0
generationVersion: 2.30.0
generation:
sdkClassName: SDK
singleTagPerOp: false
go:
version: 1.1.0
version: 1.1.1
maxMethodParams: 5
packageName: openapi
Loading

0 comments on commit 7894b56

Please sign in to comment.