Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.1.0, Speakeasy CLI 1.115.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 8, 2023
1 parent 5cac13a commit 181778e
Show file tree
Hide file tree
Showing 86 changed files with 2,461 additions and 555 deletions.
14 changes: 13 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -993,4 +993,16 @@ Based on:
- [ruby v2.0.0] ruby-client-sdk
- [swift v0.2.0] swift-client-sdk
### Releases
- [Go v2.0.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v2.0.0 - go-client-sdk
- [Go v2.0.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v2.0.0 - go-client-sdk

## 2023-11-08 00:11:52
### Changes
Based on:
- OpenAPI Doc 0.1.0
- Speakeasy CLI 1.115.0 (2.183.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.0.1] python-client-sdk
- [typescript v2.0.1] typescript-client-sdk
- [go v2.0.1] go-client-sdk
### Releases
- [Go v2.0.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v2.0.1 - go-client-sdk
14 changes: 11 additions & 3 deletions go-client-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,12 @@ func main() {

Handling errors in your SDK should largely match your expectations. All operations return a response object or an error, they will never return both. When specified by the OpenAPI spec document, the SDK will return the appropriate subclass.

| Error Object | Status Code | Content Type |
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
| sdkerrors.Error | 500 | application/json |
| sdkerrors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json |
| sdkerrors.SDKError | 400-600 | */* |


## Example

Expand Down Expand Up @@ -641,6 +647,11 @@ func main() {
log.Fatal(e.Error())
}

var e *sdkerrors.SDKError
if errors.As(err, &e) {
// handle error
log.Fatal(e.Error())
}
}
}

Expand Down Expand Up @@ -926,14 +937,11 @@ func main() {
}

```


<!-- End Retries -->



<!-- Start Authentication -->

# Authentication

## Per-Client Security Schemes
Expand Down
32 changes: 24 additions & 8 deletions go-client-sdk/docs/sdks/auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ func main() {
### Response

**[*operations.APIKeyAuthResponse](../../models/operations/apikeyauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## APIKeyAuthGlobal

Expand Down Expand Up @@ -111,7 +113,9 @@ func main() {
### Response

**[*operations.APIKeyAuthGlobalResponse](../../models/operations/apikeyauthglobalresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## BasicAuth

Expand Down Expand Up @@ -168,7 +172,9 @@ func main() {
### Response

**[*operations.BasicAuthResponse](../../models/operations/basicauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## BearerAuth

Expand Down Expand Up @@ -218,7 +224,9 @@ func main() {
### Response

**[*operations.BearerAuthResponse](../../models/operations/bearerauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## GlobalBearerAuth

Expand Down Expand Up @@ -265,7 +273,9 @@ func main() {
### Response

**[*operations.GlobalBearerAuthResponse](../../models/operations/globalbearerauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## Oauth2Auth

Expand Down Expand Up @@ -315,7 +325,9 @@ func main() {
### Response

**[*operations.Oauth2AuthResponse](../../models/operations/oauth2authresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## Oauth2Override

Expand Down Expand Up @@ -365,7 +377,9 @@ func main() {
### Response

**[*operations.Oauth2OverrideResponse](../../models/operations/oauth2overrideresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## OpenIDConnectAuth

Expand Down Expand Up @@ -415,4 +429,6 @@ func main() {
### Response

**[*operations.OpenIDConnectAuthResponse](../../models/operations/openidconnectauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |
44 changes: 33 additions & 11 deletions go-client-sdk/docs/sdks/authnew/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ func main() {
### Response

**[*operations.APIKeyAuthGlobalNewResponse](../../models/operations/apikeyauthglobalnewresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## AuthGlobal

Expand Down Expand Up @@ -137,7 +139,9 @@ func main() {
### Response

**[*operations.AuthGlobalResponse](../../models/operations/authglobalresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## BasicAuthNew

Expand Down Expand Up @@ -202,7 +206,9 @@ func main() {
### Response

**[*operations.BasicAuthNewResponse](../../models/operations/basicauthnewresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## MultipleMixedOptionsAuth

Expand Down Expand Up @@ -266,7 +272,9 @@ func main() {
### Response

**[*operations.MultipleMixedOptionsAuthResponse](../../models/operations/multiplemixedoptionsauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## MultipleMixedSchemeAuth

Expand Down Expand Up @@ -334,7 +342,9 @@ func main() {
### Response

**[*operations.MultipleMixedSchemeAuthResponse](../../models/operations/multiplemixedschemeauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## MultipleOptionsWithMixedSchemesAuth

Expand Down Expand Up @@ -401,7 +411,9 @@ func main() {
### Response

**[*operations.MultipleOptionsWithMixedSchemesAuthResponse](../../models/operations/multipleoptionswithmixedschemesauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## MultipleOptionsWithSimpleSchemesAuth

Expand Down Expand Up @@ -468,7 +480,9 @@ func main() {
### Response

**[*operations.MultipleOptionsWithSimpleSchemesAuthResponse](../../models/operations/multipleoptionswithsimpleschemesauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## MultipleSimpleOptionsAuth

Expand Down Expand Up @@ -532,7 +546,9 @@ func main() {
### Response

**[*operations.MultipleSimpleOptionsAuthResponse](../../models/operations/multiplesimpleoptionsauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## MultipleSimpleSchemeAuth

Expand Down Expand Up @@ -597,7 +613,9 @@ func main() {
### Response

**[*operations.MultipleSimpleSchemeAuthResponse](../../models/operations/multiplesimpleschemeauthresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## Oauth2AuthNew

Expand Down Expand Up @@ -661,7 +679,9 @@ func main() {
### Response

**[*operations.Oauth2AuthNewResponse](../../models/operations/oauth2authnewresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## OpenIDConnectAuthNew

Expand Down Expand Up @@ -725,4 +745,6 @@ func main() {
### Response

**[*operations.OpenIDConnectAuthNewResponse](../../models/operations/openidconnectauthnewresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |
4 changes: 3 additions & 1 deletion go-client-sdk/docs/sdks/documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,6 @@ func main() {
### Response

**[*operations.GetDocumentationPerLanguageResponse](../../models/operations/getdocumentationperlanguageresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |
14 changes: 11 additions & 3 deletions go-client-sdk/docs/sdks/errors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ func main() {
### Response

**[*operations.ConnectionErrorGetResponse](../../models/operations/connectionerrorgetresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## StatusGetError

Expand Down Expand Up @@ -108,7 +110,9 @@ func main() {
### Response

**[*operations.StatusGetErrorResponse](../../models/operations/statusgeterrorresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## StatusGetXSpeakeasyErrors

Expand Down Expand Up @@ -160,4 +164,8 @@ func main() {
### Response

**[*operations.StatusGetXSpeakeasyErrorsResponse](../../models/operations/statusgetxspeakeasyerrorsresponse.md), error**

| Error Object | Status Code | Content Type |
| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
| sdkerrors.Error | 500 | application/json |
| sdkerrors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json |
| sdkerrors.SDKError | 400-600 | */* |
4 changes: 3 additions & 1 deletion go-client-sdk/docs/sdks/first/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ func main() {
### Response

**[*operations.GroupFirstGetResponse](../../models/operations/groupfirstgetresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |
20 changes: 15 additions & 5 deletions go-client-sdk/docs/sdks/flattening/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ func main() {
### Response

**[*operations.ComponentBodyAndParamConflictResponse](../../models/operations/componentbodyandparamconflictresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## ComponentBodyAndParamNoConflict

Expand Down Expand Up @@ -161,7 +163,9 @@ func main() {
### Response

**[*operations.ComponentBodyAndParamNoConflictResponse](../../models/operations/componentbodyandparamnoconflictresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## ConflictingParams

Expand Down Expand Up @@ -215,7 +219,9 @@ func main() {
### Response

**[*operations.ConflictingParamsResponse](../../models/operations/conflictingparamsresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## InlineBodyAndParamConflict

Expand Down Expand Up @@ -272,7 +278,9 @@ func main() {
### Response

**[*operations.InlineBodyAndParamConflictResponse](../../models/operations/inlinebodyandparamconflictresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |

## InlineBodyAndParamNoConflict

Expand Down Expand Up @@ -329,4 +337,6 @@ func main() {
### Response

**[*operations.InlineBodyAndParamNoConflictResponse](../../models/operations/inlinebodyandparamnoconflictresponse.md), error**

| Error Object | Status Code | Content Type |
| ------------------ | ------------------ | ------------------ |
| sdkerrors.SDKError | 400-600 | */* |
Loading

0 comments on commit 181778e

Please sign in to comment.