diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/models_debugging_test.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/models_debugging_test.go index 47ddbc5ea80..d41a875d547 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/models_debugging_test.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/models_debugging_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package apidefinitions import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_resource.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_resource.go index a8135df4a6a..9cbf25f7e2a 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_resource.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_resource.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package apidefinitions import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_version.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_version.go index 7c00de49bbf..8e8efd53a19 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_version.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parse_api_version.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package apidefinitions import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_api_definitions.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_api_definitions.go index 3930dbb88f5..26fe0d9870f 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_api_definitions.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_api_definitions.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleanup import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_resource_id.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_resource_id.go index aa2a841f54a..804fc5d65cd 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_resource_id.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/normalize_resource_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleanup import "strings" diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/simplify_operation_names.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/simplify_operation_names.go index 70ff1f22aee..9f974966717 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/simplify_operation_names.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/simplify_operation_names.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleanup import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/title.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/title.go index d3e0faa5061..5d9ebeab1ed 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/title.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/title.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleanup import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go index 9c738d13cfb..7b4227b15b3 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/cleanup/to_sort.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package cleanup import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/apply.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/apply.go index 30a75a2a254..d214025569c 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/apply.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/apply.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commonschema import sdkModels "github.com/hashicorp/pandora/tools/data-api-sdk/v1/models" diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/interface.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/interface.go index 35be78a01a9..012f8eea0ba 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/interface.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/interface.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commonschema import sdkModels "github.com/hashicorp/pandora/tools/data-api-sdk/v1/models" diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/matchers.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/matchers.go index d6c41016b8b..dde9e562a4e 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/matchers.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/commonschema/matchers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commonschema var Matchers = []Matcher{ diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/object_definition.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/object_definition.go index 399ed3860a9..00be0247337 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/object_definition.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/object_definition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package comparison import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation.go index f2f16faa21a..3c49448eeb9 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package comparison import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option.go index 002c6eb1c03..774d2e4b067 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package comparison import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option_object_definition.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option_object_definition.go index 0da26e707d4..efe238aa503 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option_object_definition.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_option_object_definition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package comparison import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_options.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_options.go index bfe5d069f92..adb204aadda 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_options.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/operation_options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package comparison import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/resource_ids.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/resource_ids.go index 20e72f7b209..2e54dd685e5 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/resource_ids.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/comparison/resource_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package comparison import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/extension_parser.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/extension_parser.go index 0ad8f670ea2..83ee0b94597 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/extension_parser.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/extension_parser.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package constants import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/helpers.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/helpers.go index ea1a316a18b..40e2986ca12 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/helpers.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/constants/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package constants import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/apply.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/apply.go index 4e9a2553db2..3076900428f 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/apply.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/apply.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataworkarounds import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/helpers.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/helpers.go index 270cb98db50..77fdef07bf7 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/helpers.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataworkarounds import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_network_29303.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_network_29303.go index b4d1f91d5d0..ca4e90cd4d3 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_network_29303.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_network_29303.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataworkarounds import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_containerservice.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_containerservice.go index 1da2dee0a61..807516586f7 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_containerservice.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_containerservice.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataworkarounds import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_loadtest.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_loadtest.go index 01406d7bff8..67af1703b5e 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_loadtest.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_loadtest.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataworkarounds import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_managedidentity.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_managedidentity.go index bbc9d9eaf15..26c7d041783 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_managedidentity.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/dataworkarounds/workaround_temp_readonly_fields_managedidentity.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package dataworkarounds import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/services.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/services.go index 234a5fcd298..936144e966e 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/services.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/services.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ignore import "strings" diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/swagger_tags.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/swagger_tags.go index 0b1568dbc17..1cc5fa2fa9e 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/swagger_tags.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/ignore/swagger_tags.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package ignore import "strings" diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/models/parse_result.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/models/parse_result.go index 31f524caa3f..268652d5dde 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/models/parse_result.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/models/parse_result.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package models import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/helpers.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/helpers.go index a7d475599a3..a1ce77af71b 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/helpers.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/identification.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/identification.go index 75aa40f2829..b92f2d6e83c 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/identification.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/identification.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/list.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/list.go index 6d8d15f38a8..ec5321001a0 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/list.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/list.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/options.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/options.go index 2ab4e52b2d8..a744e20de0b 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/options.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/options.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/parse_operation.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/parse_operation.go index 99c0626043c..a58eca427a4 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/parse_operation.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/parse_operation.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/request_object.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/request_object.go index e4e43ab2831..3a139c83fdf 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/request_object.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/request_object.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/resource_id.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/resource_id.go index b436fd4a76d..2987589018f 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/resource_id.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/resource_id.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/response_object.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/response_object.go index 355f7db1953..063193b6700 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/response_object.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/operation/response_object.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package operation import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_discriminated.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_discriminated.go index 97d9faaba64..dcfe72e66fa 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_discriminated.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_discriminated.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_resource_ids.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_resource_ids.go index bceb6fff48e..5e74621d100 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_resource_ids.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_resource_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_swagger_tag.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_swagger_tag.go index cce6ca5df93..33adb7973c5 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_swagger_tag.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parse_swagger_tag.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parser.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parser.go index f24bfa2386f..ec5f1191dac 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parser.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parser.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parser import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/build.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/build.go index 773b9372fe5..cefd33a6dcd 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/build.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/build.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/context.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/context.go index aeceed8a2ea..6438f2ed5f1 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/context.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/context.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers.go index ab9dd896c12..e7ce23ff8db 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers_implements.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers_implements.go index b1a2ad02a32..f636255dc67 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers_implements.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/helpers_implements.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_constant.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_constant.go index 755c3197121..18cea0ae2b7 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_constant.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_constant.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_model.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_model.go index 93f1c7892ec..0e023f5e5b6 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_model.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_model.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_object_definition.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_object_definition.go index 01e92df8e91..ac6a32640bd 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_object_definition.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/parse_object_definition.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/top_level_object.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/top_level_object.go index 6b2a6e2682a..5a3841fc7e7 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/top_level_object.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/parsingcontext/top_level_object.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package parsingcontext import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/common_ids.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/common_ids.go index 81eef950073..3fbc5b861a3 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/common_ids.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/common_ids.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commonids var CommonIDTypes = []commonIdMatcher{ diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/interface.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/interface.go index 3966f3cdd6d..efc409c0231 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/interface.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/resourceids/commonids/interface.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package commonids import sdkModels "github.com/hashicorp/pandora/tools/data-api-sdk/v1/models" diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/parse_swagger_file.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/parse_swagger_file.go index 2adde990627..79c81a4b9a9 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/parse_swagger_file.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/parse_swagger_file.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testhelpers import ( diff --git a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/validate_result_matches.go b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/validate_result_matches.go index 5fb9891f68e..f9220290624 100644 --- a/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/validate_result_matches.go +++ b/tools/importer-rest-api-specs/internal/components/apidefinitions/parser/testhelpers/validate_result_matches.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package testhelpers import ( diff --git a/tools/importer-rest-api-specs/internal/components/data_test.go b/tools/importer-rest-api-specs/internal/components/data_test.go index 4009f9af2d1..de498fd98f6 100644 --- a/tools/importer-rest-api-specs/internal/components/data_test.go +++ b/tools/importer-rest-api-specs/internal/components/data_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package components import ( diff --git a/tools/importer-rest-api-specs/internal/pipeline/messages.go b/tools/importer-rest-api-specs/internal/pipeline/messages.go index 2372d9d2af6..3e991385cc7 100644 --- a/tools/importer-rest-api-specs/internal/pipeline/messages.go +++ b/tools/importer-rest-api-specs/internal/pipeline/messages.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package pipeline import (