From edb6143eeca1c0e7af1a24fc8ab19c31086d1d51 Mon Sep 17 00:00:00 2001 From: Federico D'Amato Date: Wed, 24 Jun 2026 10:25:53 +0200 Subject: [PATCH 1/3] Add copyright and license to generate_models.sh Add copyright notice and licensing information to the script. --- generate_models.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/generate_models.sh b/generate_models.sh index 8857622..d8bf190 100755 --- a/generate_models.sh +++ b/generate_models.sh @@ -1,3 +1,17 @@ +# Copyright 2026 UCP Authors +# +# 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 +# +# http://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. + #!/bin/bash # Generate Pydantic models from UCP JSON Schemas From d92a8b8b44d9a4af4d919168d18d5d4a67e96222 Mon Sep 17 00:00:00 2001 From: Federico D'Amato Date: Wed, 24 Jun 2026 10:27:52 +0200 Subject: [PATCH 2/3] Update generate_models.sh Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- generate_models.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_models.sh b/generate_models.sh index d8bf190..1f1d402 100755 --- a/generate_models.sh +++ b/generate_models.sh @@ -1,3 +1,4 @@ +#!/bin/bash # Copyright 2026 UCP Authors # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -11,7 +12,6 @@ # 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. - #!/bin/bash # Generate Pydantic models from UCP JSON Schemas From 3872a6e451da3f1e66df1fc8095be88d4947187a Mon Sep 17 00:00:00 2001 From: Federico D'Amato Date: Wed, 24 Jun 2026 10:40:30 +0200 Subject: [PATCH 3/3] Fix formatting issues in generate_models.sh --- generate_models.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_models.sh b/generate_models.sh index 1f1d402..e4917a6 100755 --- a/generate_models.sh +++ b/generate_models.sh @@ -12,7 +12,7 @@ # 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. -#!/bin/bash + # Generate Pydantic models from UCP JSON Schemas # Ensure we are in the script's directory