Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.43.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jun 5, 2023
1 parent cd93a9a commit f3e4490
Show file tree
Hide file tree
Showing 172 changed files with 10,718 additions and 3,960 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,12 @@ Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.5.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.5.0 - go-client-sdk
- [Go v1.5.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.5.0 - go-client-sdk

## 2023-06-05 07:47:36
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.43.0 (2.35.3) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.5.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.5.1 - go-client-sdk
10 changes: 10 additions & 0 deletions go-client-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ func main() {
* [GlobalPathParameterGet](docs/globals/README.md#globalpathparameterget)
* [GlobalsQueryParameterGet](docs/globals/README.md#globalsqueryparameterget)

### [Pagination](docs/pagination/README.md)

* [PaginationCursorBody](docs/pagination/README.md#paginationcursorbody)
* [PaginationCursorParams](docs/pagination/README.md#paginationcursorparams)
* [PaginationLimitOffsetOffsetBody](docs/pagination/README.md#paginationlimitoffsetoffsetbody)
* [PaginationLimitOffsetOffsetParams](docs/pagination/README.md#paginationlimitoffsetoffsetparams)
* [PaginationLimitOffsetPageBody](docs/pagination/README.md#paginationlimitoffsetpagebody)
* [PaginationLimitOffsetPageParams](docs/pagination/README.md#paginationlimitoffsetpageparams)

### [Parameters](docs/parameters/README.md)

* [DeepObjectQueryParamsMap](docs/parameters/README.md#deepobjectqueryparamsmap)
Expand Down Expand Up @@ -217,6 +226,7 @@ func main() {
* [SelectServerWithID](docs/servers/README.md#selectserverwithid) - Select a server by ID.
* [ServerWithTemplates](docs/servers/README.md#serverwithtemplates)
* [ServerWithTemplatesGlobal](docs/servers/README.md#serverwithtemplatesglobal)
* [ServersByIDWithTemplates](docs/servers/README.md#serversbyidwithtemplates)

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

Expand Down
2 changes: 1 addition & 1 deletion go-client-sdk/docs/generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ func main() {
log.Fatal(err)
}

if res.OverridenResponse != nil {
if res.OverriddenResponse != nil {
// handle response
}
}
Expand Down
234 changes: 234 additions & 0 deletions go-client-sdk/docs/pagination/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,234 @@
# Pagination

## Overview

Endpoints for testing the pagination extension

### Available Operations

* [PaginationCursorBody](#paginationcursorbody)
* [PaginationCursorParams](#paginationcursorparams)
* [PaginationLimitOffsetOffsetBody](#paginationlimitoffsetoffsetbody)
* [PaginationLimitOffsetOffsetParams](#paginationlimitoffsetoffsetparams)
* [PaginationLimitOffsetPageBody](#paginationlimitoffsetpagebody)
* [PaginationLimitOffsetPageParams](#paginationlimitoffsetpageparams)

## PaginationCursorBody

### 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.Pagination.PaginationCursorBody(ctx, operations.PaginationCursorBodyRequestBody{
Cursor: 311796,
})
if err != nil {
log.Fatal(err)
}

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

## PaginationCursorParams

### 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.Pagination.PaginationCursorParams(ctx, 881005)
if err != nil {
log.Fatal(err)
}

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

## PaginationLimitOffsetOffsetBody

### Example Usage

```go
package main

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

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.Pagination.PaginationLimitOffsetOffsetBody(ctx, shared.LimitOffsetConfig{
Limit: sdk.Int64(696344),
Offset: sdk.Int64(976405),
Page: sdk.Int64(377752),
})
if err != nil {
log.Fatal(err)
}

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

## PaginationLimitOffsetOffsetParams

### 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.Pagination.PaginationLimitOffsetOffsetParams(ctx, 617658, 179603)
if err != nil {
log.Fatal(err)
}

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

## PaginationLimitOffsetPageBody

### Example Usage

```go
package main

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

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.Pagination.PaginationLimitOffsetPageBody(ctx, shared.LimitOffsetConfig{
Limit: sdk.Int64(542499),
Offset: sdk.Int64(24678),
Page: sdk.Int64(854614),
})
if err != nil {
log.Fatal(err)
}

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

## PaginationLimitOffsetPageParams

### 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.Pagination.PaginationLimitOffsetPageParams(ctx, 67249)
if err != nil {
log.Fatal(err)
}

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

0 comments on commit f3e4490

Please sign in to comment.