Skip to content

Commit e56562d

Browse files
committed
Release v0.0.817
1 parent e0c48a3 commit e56562d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-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.811")
39+
headers.Set("X-Fern-SDK-Version", "v0.0.817")
4040
return headers
4141
}

types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,6 +1397,10 @@ type Endpoint struct {
13971397
type EndpointIdentifier struct {
13981398
Path EndpointPath `json:"path"`
13991399
Method EndpointMethod `json:"method,omitempty"`
1400+
// The ID for the endpoint as declared within the IR, this is a unique name for the endpoint, whereas path and
1401+
// method are not (specifically for the fern definition, consider chat and chat stream). This is optional to
1402+
// remain backcompat with old snippets of yore.
1403+
IdentifierOverride *string `json:"identifier_override,omitempty"`
14001404
}
14011405

14021406
type EndpointMethod uint

0 commit comments

Comments
 (0)