Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions shared/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ type Configuration struct {
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
DefaultQueryParams url.Values `json:"defaultQueryParams,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
ContractNumber string `json:"contractNumber,omitempty"`
Servers ServerConfigurations
OperationServers map[string]ServerConfigurations
HTTPClient *http.Client
Expand Down Expand Up @@ -177,6 +178,8 @@ func NewConfiguration(username, password, token, hostUrl string) *Configuration
type ClientOptions struct {
// Endpoint is the endpoint that will be overridden
Endpoint string
// ContractNumber represent the contract that will be used
ContractNumber string
// SkipTLSVerify skips tls verification. Not recommended for production!
SkipTLSVerify bool
// Certificate is the certificate that will be used for tls verification
Expand Down
Loading