Skip to content

Commit

Permalink
Release v0.0.674
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Mar 18, 2024
1 parent 00e49f0 commit 7a0c221
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 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.672")
headers.Set("X-Fern-SDK-Version", "v0.0.674")
return headers
}
39 changes: 27 additions & 12 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -758,25 +758,40 @@ func (l *LicenseId) UnmarshalJSON(data []byte) error {
return nil
}

type MavenCentralSignature struct {
KeyId string `json:"keyId"`
Password string `json:"password"`
SecretKey string `json:"secretKey"`
}

type MavenCentralSignatureGithubInfo struct {
KeyIdEnvironmentVariable EnvironmentVariable `json:"keyIdEnvironmentVariable"`
PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
SecretKeyEnvironmentVariable EnvironmentVariable `json:"secretKeyEnvironmentVariable"`
}

type MavenGithubPublishInfo struct {
RegistryUrl string `json:"registryUrl"`
Coordinate string `json:"coordinate"`
UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
RegistryUrl string `json:"registryUrl"`
Coordinate string `json:"coordinate"`
UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
Signature *MavenCentralSignatureGithubInfo `json:"signature,omitempty"`
}

type MavenRegistryConfig struct {
RegistryUrl string `json:"registryUrl"`
Username string `json:"username"`
Password string `json:"password"`
Group string `json:"group"`
RegistryUrl string `json:"registryUrl"`
Username string `json:"username"`
Password string `json:"password"`
Group string `json:"group"`
Signature *MavenCentralSignature `json:"signature,omitempty"`
}

type MavenRegistryConfigV2 struct {
RegistryUrl string `json:"registryUrl"`
Username string `json:"username"`
Password string `json:"password"`
Coordinate string `json:"coordinate"`
RegistryUrl string `json:"registryUrl"`
Username string `json:"username"`
Password string `json:"password"`
Coordinate string `json:"coordinate"`
Signature *MavenCentralSignature `json:"signature,omitempty"`
}

type NpmGithubPublishInfo struct {
Expand Down

0 comments on commit 7a0c221

Please sign in to comment.