Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2023 HashiCorp, Inc.
Copyright IBM Corp. 2023, 2025

Mozilla Public License Version 2.0
==================================
Expand Down
2 changes: 1 addition & 1 deletion cmd/tfplugingen-openapi/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/tfplugingen-openapi/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/generate_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package cmd_test
Expand Down
2 changes: 1 addition & 1 deletion internal/config/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

// Package config contains the types, parsing, and validation logic for the YAML generator configuration
Expand Down
2 changes: 1 addition & 1 deletion internal/config/parse.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion internal/config/parse_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package config_test
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/config_explorer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package explorer
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/config_explorer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package explorer_test
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

// Package explorer contains the types and methods for relating OpenAPI operations to a set of Terraform Provider resource/data source actions (CRUD)
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/explorer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package explorer
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/explorer_utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package explorer
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/explorer_utils_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package explorer
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/guesstimator_explorer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package explorer
Expand Down
2 changes: 1 addition & 1 deletion internal/explorer/guesstimator_explorer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package explorer_test
Expand Down
2 changes: 1 addition & 1 deletion internal/log/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

// Package log contains helper functions for structured logging
Expand Down
2 changes: 1 addition & 1 deletion internal/log/warn.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package log
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/bool.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/bool_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/data_source_attributes.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

// Package attrmapper contains types and methods that provide an intermediate step between the OpenAPI schema
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/float64.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/float64_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/int64.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/int64_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/list.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/list_nested.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/list_nested_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/list_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/map.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/map_nested.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/map_nested_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/map_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/number.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/number_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/provider_attributes.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/resource_attributes.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/resource_attributes_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/set.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/set_nested.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/set_nested_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/set_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/single_nested.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/single_nested_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/string.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/string_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/attrmapper/types.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package attrmapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/datasource_mapper.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package mapper
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/datasource_mapper_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package mapper_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

// Package mapper includes the types and methods for mapping provider, resource, and data source
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/code_import.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

// Package frameworkvalidators contains functionality for mapping validations
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/float64validator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/int64validator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/listvalidator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/mapvalidator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/mapvalidator_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/setvalidator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/setvalidator_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators_test
Expand Down
2 changes: 1 addition & 1 deletion internal/mapper/frameworkvalidators/stringvalidator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2023, 2025
// SPDX-License-Identifier: MPL-2.0

package frameworkvalidators_test
Expand Down
Loading
Loading