Skip to content

Commit 7a0c221

Browse files
committed
Release v0.0.674
1 parent 00e49f0 commit 7a0c221

File tree

2 files changed

+28
-13
lines changed

2 files changed

+28
-13
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.672")
39+
headers.Set("X-Fern-SDK-Version", "v0.0.674")
4040
return headers
4141
}

types.go

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -758,25 +758,40 @@ func (l *LicenseId) UnmarshalJSON(data []byte) error {
758758
return nil
759759
}
760760

761+
type MavenCentralSignature struct {
762+
KeyId string `json:"keyId"`
763+
Password string `json:"password"`
764+
SecretKey string `json:"secretKey"`
765+
}
766+
767+
type MavenCentralSignatureGithubInfo struct {
768+
KeyIdEnvironmentVariable EnvironmentVariable `json:"keyIdEnvironmentVariable"`
769+
PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
770+
SecretKeyEnvironmentVariable EnvironmentVariable `json:"secretKeyEnvironmentVariable"`
771+
}
772+
761773
type MavenGithubPublishInfo struct {
762-
RegistryUrl string `json:"registryUrl"`
763-
Coordinate string `json:"coordinate"`
764-
UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
765-
PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
774+
RegistryUrl string `json:"registryUrl"`
775+
Coordinate string `json:"coordinate"`
776+
UsernameEnvironmentVariable EnvironmentVariable `json:"usernameEnvironmentVariable"`
777+
PasswordEnvironmentVariable EnvironmentVariable `json:"passwordEnvironmentVariable"`
778+
Signature *MavenCentralSignatureGithubInfo `json:"signature,omitempty"`
766779
}
767780

768781
type MavenRegistryConfig struct {
769-
RegistryUrl string `json:"registryUrl"`
770-
Username string `json:"username"`
771-
Password string `json:"password"`
772-
Group string `json:"group"`
782+
RegistryUrl string `json:"registryUrl"`
783+
Username string `json:"username"`
784+
Password string `json:"password"`
785+
Group string `json:"group"`
786+
Signature *MavenCentralSignature `json:"signature,omitempty"`
773787
}
774788

775789
type MavenRegistryConfigV2 struct {
776-
RegistryUrl string `json:"registryUrl"`
777-
Username string `json:"username"`
778-
Password string `json:"password"`
779-
Coordinate string `json:"coordinate"`
790+
RegistryUrl string `json:"registryUrl"`
791+
Username string `json:"username"`
792+
Password string `json:"password"`
793+
Coordinate string `json:"coordinate"`
794+
Signature *MavenCentralSignature `json:"signature,omitempty"`
780795
}
781796

782797
type NpmGithubPublishInfo struct {

0 commit comments

Comments
 (0)