Skip to content

Commit f9907e1

Browse files
committed
Release v0.0.1047
1 parent 4aa57af commit f9907e1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

core/client_option.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ func (c *ClientOptions) cloneHeader() http.Header {
3636
headers := c.HTTPHeader.Clone()
3737
headers.Set("X-Fern-Language", "Go")
3838
headers.Set("X-Fern-SDK-Name", "github.com/fern-api/generator-exec-go")
39-
headers.Set("X-Fern-SDK-Version", "v0.0.1043")
39+
headers.Set("X-Fern-SDK-Version", "v0.0.1047")
4040
return headers
4141
}

types.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,7 @@ const (
14571457
EndpointMethodGet
14581458
EndpointMethodPatch
14591459
EndpointMethodDelete
1460+
EndpointMethodHead
14601461
)
14611462

14621463
func (e EndpointMethod) String() string {
@@ -1473,6 +1474,8 @@ func (e EndpointMethod) String() string {
14731474
return "PATCH"
14741475
case EndpointMethodDelete:
14751476
return "DELETE"
1477+
case EndpointMethodHead:
1478+
return "HEAD"
14761479
}
14771480
}
14781481

@@ -1501,6 +1504,9 @@ func (e *EndpointMethod) UnmarshalJSON(data []byte) error {
15011504
case "DELETE":
15021505
value := EndpointMethodDelete
15031506
*e = value
1507+
case "HEAD":
1508+
value := EndpointMethodHead
1509+
*e = value
15041510
}
15051511
return nil
15061512
}

0 commit comments

Comments
 (0)