Skip to content

Commit

Permalink
feat: [AH-915]: Add Updated Model for Upstream Support (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritek01 authored Feb 18, 2025
1 parent 42b4bd2 commit 51f0026
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
5 changes: 3 additions & 2 deletions harness/har/docs/OneOfRegistryConfig.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# OneOfRegistryConfig

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[**VirtualConfig**](VirtualConfig.md)

[**UpstreamConfig**](UpstreamConfig.md)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions harness/har/docs/OneOfUpstreamConfigAuth.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**AuthType** | [***AuthType**](AuthType.md) | | [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions harness/har/docs/RegistryConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type_** | [***RegistryType**](RegistryType.md) | | [default to null]
[**OneOfRegistryConfig**](OneOfRegistryConfig.md)

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions harness/har/model_one_of_upstream_config_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ package har
type OneOfUpstreamConfigAuth struct {
UserPassword
Anonymous
AuthType *AuthType `json:"authType"`
}
1 change: 1 addition & 0 deletions harness/har/model_registry_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ package har
// SubConfig specific for Virtual or Upstream Registry
type RegistryConfig struct {
Type_ *RegistryType `json:"type"`
OneOfRegistryConfig
}
2 changes: 1 addition & 1 deletion harness/har/model_upstream_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ type UpstreamConfig struct {
Auth *OneOfUpstreamConfigAuth `json:"auth,omitempty"`
AuthType *AuthType `json:"authType"`
Source string `json:"source,omitempty"`
Url string `json:"url,omitempty"`
Url string `json:"url"`
}

0 comments on commit 51f0026

Please sign in to comment.