Skip to content

Commit 7933910

Browse files
feat(api): manual updates (#42)
1 parent 7cc0121 commit 7933910

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 111
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-bef0e79f204c51c91f5dca61e621e5e31c7494dccccb200e51da0c7654340816.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-cd6a05ae99d2a050577fa0e729e6ae89b4eacd78f61366a77269398368f8a877.yml

aliases.go

-6
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ const ErrorCodeUnavailable = apierror.ErrorCodeUnavailable
2727
const ErrorCodeDataLoss = apierror.ErrorCodeDataLoss
2828
const ErrorCodeUnauthenticated = apierror.ErrorCodeUnauthenticated
2929

30-
type ArbitraryData = apierror.ArbitraryData
31-
type ArbitraryDataDebug = apierror.ArbitraryDataDebug
32-
type ArbitraryDataType = apierror.ArbitraryDataType
33-
type ArbitraryDataValue = apierror.ArbitraryDataValue
34-
type ArbitraryData = apierror.ArbitraryData
35-
3630
// An AutomationTrigger represents a trigger for an automation action. The
3731
// `post_environment_start` field indicates that the automation should be triggered
3832
// after the environment has started. The `post_devcontainer_start` field indicates

internal/apierror/apierror.go

-4
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ type Error struct {
1818
// The status code, which should be an enum value of
1919
// [google.rpc.Code][google.rpc.Code].
2020
Code shared.ErrorCode `json:"code"`
21-
// Contains an arbitrary serialized message along with a @type that describes the
22-
// type of the serialized message.
23-
Detail shared.ArbitraryData `json:"detail"`
2421
// A developer-facing error message, which should be in English. Any user-facing
2522
// error message should be localized and sent in the
2623
// [google.rpc.Status.details][google.rpc.Status.details] field, or localized by
@@ -36,7 +33,6 @@ type Error struct {
3633
// errorJSON contains the JSON metadata for the struct [Error]
3734
type errorJSON struct {
3835
Code apijson.Field
39-
Detail apijson.Field
4036
Message apijson.Field
4137
raw string
4238
ExtraFields map[string]apijson.Field

0 commit comments

Comments
 (0)