diff --git a/Src/Tools/BuildGeneratedArgumentTranslator/Program.cs b/Src/Tools/BuildGeneratedArgumentTranslator/Program.cs index 21bb9535b93..436b86b66b8 100644 --- a/Src/Tools/BuildGeneratedArgumentTranslator/Program.cs +++ b/Src/Tools/BuildGeneratedArgumentTranslator/Program.cs @@ -18,11 +18,6 @@ // for details of the expected arguments. The first argument is the generation directory, // and is specified by BuildGenerated.sh itself. -// This code copies elements from the REST generator. While duplication isn't great, -// this is code that isn't expected to change regularly, and it's cleaner to make this -// small utility standalone than to put it into the generator itself (or have some common -// dependency library). - using ToolUtilities; if (args.Length == 0) diff --git a/Src/Tools/ToolUtilities/Discovery.cs b/Src/Tools/ToolUtilities/Discovery.cs index 1d72df71ced..77a75a0ef89 100644 --- a/Src/Tools/ToolUtilities/Discovery.cs +++ b/Src/Tools/ToolUtilities/Discovery.cs @@ -1,4 +1,18 @@ -using Google.Api.Generator.Rest.Models; +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +using Google.Api.Generator.Rest.Models; using Google.Api.Generator.Utils; using Google.Apis.Discovery.v1.Data; using Google.Apis.Json; diff --git a/Src/Tools/UpdateReadmePackageList/PackageTableEntry.cs b/Src/Tools/UpdateReadmePackageList/PackageTableEntry.cs index 2a308234af8..8ffe9d95a3e 100644 --- a/Src/Tools/UpdateReadmePackageList/PackageTableEntry.cs +++ b/Src/Tools/UpdateReadmePackageList/PackageTableEntry.cs @@ -1,4 +1,20 @@ - +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Generated a list of packages with links to product documentation, NuGet, +// and library reference documentation, within README.md. + using Google.Apis.Discovery.v1.Data; using ToolUtilities; diff --git a/Src/Tools/UpdateReadmePackageList/Program.cs b/Src/Tools/UpdateReadmePackageList/Program.cs index 9cb2cc4e54b..8df325258b1 100644 --- a/Src/Tools/UpdateReadmePackageList/Program.cs +++ b/Src/Tools/UpdateReadmePackageList/Program.cs @@ -12,17 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -// Translates the arguments from BuildGenerated.sh into directories containing -// libraries. This is primarily for the sake of being able to accept Discovery file -// paths as reported by earlier phases of the build pipeline. See BuildGenerated.sh -// for details of the expected arguments. The first argument is the generation directory, -// and is specified by BuildGenerated.sh itself. - -// This code copies elements from the REST generator. While duplication isn't great, -// this is code that isn't expected to change regularly, and it's cleaner to make this -// small utility standalone than to put it into the generator itself (or have some common -// dependency library). - using UpdateReadmePackageList; // Everything before this line is preserved.