Skip to content

Commit cdd8e97

Browse files
authored
chore(internal/serviceconfig): add service config path for showcase (#3609)
Override service config for showcase since it does not live in googleapis. Fixes #3610
1 parent 64c7fe0 commit cdd8e97

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

internal/librarian/rust/codec_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,13 +653,14 @@ func TestToSidekickConfig(t *testing.T) {
653653
Roots: []string{"showcase"},
654654
},
655655
channel: &config.Channel{
656-
Path: "google/showcase/v1beta1",
656+
Path: "schema/google/showcase/v1beta1",
657657
},
658658
want: &sidekickconfig.Config{
659659
General: sidekickconfig.GeneralConfig{
660660
Language: "rust",
661661
SpecificationFormat: "protobuf",
662-
SpecificationSource: "google/showcase/v1beta1",
662+
SpecificationSource: "schema/google/showcase/v1beta1",
663+
ServiceConfig: "schema/google/showcase/v1beta1/showcase_v1beta1.yaml",
663664
},
664665
Source: map[string]string{
665666
"showcase-root": "",

internal/serviceconfig/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,5 +445,5 @@ var APIs = []API{
445445
{Path: "google/storagetransfer/v1"},
446446
{Path: "google/type"},
447447
{Path: "grafeas/v1"},
448-
{Path: "schema/google/showcase/v1beta1"},
448+
{Path: "schema/google/showcase/v1beta1", ServiceConfig: "schema/google/showcase/v1beta1/showcase_v1beta1.yaml"},
449449
}

0 commit comments

Comments
 (0)