Skip to content

Commit 8b16058

Browse files
authored
Made caibaseurl and resourceswithcaiassettype be omitted by openapi generation (#15685)
1 parent 5ae73fa commit 8b16058

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mmv1/api/product.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ type Product struct {
6060

6161
// The validator "relative URI" of a resource, relative to the product
6262
// base URL. Specific to defining the resource as a CAI asset.
63-
CaiBaseUrl string
63+
CaiBaseUrl string `yaml:"caibaseurl,omitempty"`
6464

6565
// The service name from CAI asset name, e.g. bigtable.googleapis.com.
6666
CaiAssetService string `yaml:"cai_asset_service,omitempty"`
6767

6868
// CaiResourceType of resources that already have an AssetType constant defined in the product.
69-
ResourcesWithCaiAssetType map[string]struct{}
69+
ResourcesWithCaiAssetType map[string]struct{} `yaml:"resourceswithcaiassettype,omitempty"`
7070

7171
// A function reference designed for the rare case where you
7272
// need to use retries in operation calls. Used for the service api

0 commit comments

Comments
 (0)