Skip to content

Commit

Permalink
Release v0.0.827
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed May 20, 2024
1 parent 2ae8fa3 commit 4dae0b7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion core/client_option.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ func (c *ClientOptions) cloneHeader() http.Header {
headers := c.HTTPHeader.Clone()
headers.Set("X-Fern-Language", "Go")
headers.Set("X-Fern-SDK-Name", "github.com/fern-api/generator-exec-go")
headers.Set("X-Fern-SDK-Version", "v0.0.823")
headers.Set("X-Fern-SDK-Version", "v0.0.827")
return headers
}
29 changes: 25 additions & 4 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,16 @@ func (g *GeneratorEnvironment) Accept(visitor GeneratorEnvironmentVisitor) error
}
}

type GeneratorMetadata struct {
Description *string `json:"description,omitempty"`
Authors []*GeneratorMetadataAuthor `json:"authors,omitempty"`
}

type GeneratorMetadataAuthor struct {
Name string `json:"name"`
Email string `json:"email"`
}

type GeneratorOutputConfig struct {
Path string `json:"path"`
SnippetFilepath *string `json:"snippetFilepath,omitempty"`
Expand Down Expand Up @@ -988,6 +998,7 @@ type PostmanGithubPublishInfo struct {
WorkspaceIdEnvironmentVariable EnvironmentVariable `json:"workspaceIdEnvironmentVariable"`
}

// This should effectively be deprecated in favor of a more specific configuration per-output mode (pypi, maven, etc.).
type PublishingMetadata struct {
PackageDescription *string `json:"package_description,omitempty"`
PublisherEmail *string `json:"publisher_email,omitempty"`
Expand All @@ -1000,13 +1011,23 @@ type PypiGithubPublishInfo struct {
PackageName string `json:"packageName"`
UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
PypiMetadata *PypiMetadata `json:"pypiMetadata,omitempty"`
}

type PypiMetadata struct {
Description *string `json:"description,omitempty"`
Authors []*GeneratorMetadataAuthor `json:"authors,omitempty"`
Keywords []string `json:"keywords,omitempty"`
DocumentationLink *string `json:"documentationLink,omitempty"`
HomepageLink *string `json:"homepageLink,omitempty"`
}

type PypiRegistryConfig struct {
RegistryUrl string `json:"registryUrl"`
Username string `json:"username"`
Password string `json:"password"`
PackageName string `json:"packageName"`
RegistryUrl string `json:"registryUrl"`
Username string `json:"username"`
Password string `json:"password"`
PackageName string `json:"packageName"`
PypiMetadata *PypiMetadata `json:"pypiMetadata,omitempty"`
}

type RemoteGeneratorEnvironment struct {
Expand Down

0 comments on commit 4dae0b7

Please sign in to comment.