diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 34a7d85..d4ee506 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,5 @@ # -# Copyright 2022-2023 The sacloud/object-storage-api-go authors +# Copyright 2022-2025 The sacloud/object-storage-api-go authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 6431cfc..b1dc253 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,5 +1,5 @@ # -# Copyright 2022-2023 The sacloud/object-storage-api-go authors +# Copyright 2022-2025 The sacloud/object-storage-api-go authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.spectral.yaml b/.spectral.yaml index f74a5d3..3890ac4 100644 --- a/.spectral.yaml +++ b/.spectral.yaml @@ -4,3 +4,4 @@ rules: operation-tag-defined: false path-keys-no-trailing-slash: false oas3-server-trailing-slash: false + oas3-server-variables: false \ No newline at end of file diff --git a/Makefile b/Makefile index 984e312..8eb48f6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# Copyright 2022-2023 The sacloud/object-storage-api-go Authors +# Copyright 2022-2025 The sacloud/object-storage-api-go Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ #==================== AUTHOR ?= The sacloud/object-storage-api-go authors -COPYRIGHT_YEAR ?= 2022-2023 +COPYRIGHT_YEAR ?= 2022-2025 BIN ?= dist/sacloud-ojs-fake-server GO_ENTRY_FILE ?= cmd/sacloud-ojs-fake-server/*.go diff --git a/README.md b/README.md index f80dc54..08a82b5 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,6 @@ func main() { ## License -`sacloud/object-storage-api-go` Copyright (C) 2022-2023 [The sacloud/object-storage-api-go Authors](AUTHORS). +`sacloud/object-storage-api-go` Copyright (C) 2022-2025 [The sacloud/object-storage-api-go Authors](AUTHORS). This project is published under [Apache 2.0 License](LICENSE). diff --git a/acceptance_test.go b/acceptance_test.go index caf713f..4292e4d 100644 --- a/acceptance_test.go +++ b/acceptance_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/accounts.go b/accounts.go index 6264319..f4360c3 100644 --- a/accounts.go +++ b/accounts.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/aliases.go b/apis/v1/aliases.go index 01548f5..ed98ea5 100644 --- a/apis/v1/aliases.go +++ b/apis/v1/aliases.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/errors.go b/apis/v1/errors.go index b8e16a7..76a79ff 100644 --- a/apis/v1/errors.go +++ b/apis/v1/errors.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/example_fake_test.go b/apis/v1/example_fake_test.go index 5e34e32..74f3410 100644 --- a/apis/v1/example_fake_test.go +++ b/apis/v1/example_fake_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/example_test.go b/apis/v1/example_test.go index 7d5fcdc..b404d83 100644 --- a/apis/v1/example_test.go +++ b/apis/v1/example_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/functions.go b/apis/v1/functions.go index d42c080..e1fe33a 100644 --- a/apis/v1/functions.go +++ b/apis/v1/functions.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/interceptors.go b/apis/v1/interceptors.go index 8e80c46..105552a 100644 --- a/apis/v1/interceptors.go +++ b/apis/v1/interceptors.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/marshaler.go b/apis/v1/marshaler.go index 9892171..7bdcfe4 100644 --- a/apis/v1/marshaler.go +++ b/apis/v1/marshaler.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/primitives.go b/apis/v1/primitives.go index 700acd4..d486317 100644 --- a/apis/v1/primitives.go +++ b/apis/v1/primitives.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/zz_client_gen.go b/apis/v1/zz_client_gen.go index a2ea80b..30dcf4b 100644 --- a/apis/v1/zz_client_gen.go +++ b/apis/v1/zz_client_gen.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/zz_server_gen.go b/apis/v1/zz_server_gen.go index 1105c94..c315af8 100644 --- a/apis/v1/zz_server_gen.go +++ b/apis/v1/zz_server_gen.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/apis/v1/zz_types_gen.go b/apis/v1/zz_types_gen.go index fc43abb..e214d78 100644 --- a/apis/v1/zz_types_gen.go +++ b/apis/v1/zz_types_gen.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/buckets.go b/buckets.go index 1b2d174..0e04996 100644 --- a/buckets.go +++ b/buckets.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/client.go b/client.go index fd29fb9..c0619d1 100644 --- a/client.go +++ b/client.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cmd/sacloud-ojs-fake-server/main.go b/cmd/sacloud-ojs-fake-server/main.go index 954944b..901e1d7 100644 --- a/cmd/sacloud-ojs-fake-server/main.go +++ b/cmd/sacloud-ojs-fake-server/main.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/example_fake_test.go b/example_fake_test.go index 4868bd5..530cfe8 100644 --- a/example_fake_test.go +++ b/example_fake_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/example_test.go b/example_test.go index 2510bae..d4fad62 100644 --- a/example_test.go +++ b/example_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/account_keys.go b/fake/account_keys.go index 2135843..5f4474a 100644 --- a/fake/account_keys.go +++ b/fake/account_keys.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/account_keys_test.go b/fake/account_keys_test.go index c4f47a6..4fddda8 100644 --- a/fake/account_keys_test.go +++ b/fake/account_keys_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/accounts.go b/fake/accounts.go index dd1ce52..92b511b 100644 --- a/fake/accounts.go +++ b/fake/accounts.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/accounts_test.go b/fake/accounts_test.go index adbbb68..838c2f1 100644 --- a/fake/accounts_test.go +++ b/fake/accounts_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/buckets.go b/fake/buckets.go index ef2c305..5555c78 100644 --- a/fake/buckets.go +++ b/fake/buckets.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/buckets_test.go b/fake/buckets_test.go index 50d4f29..cc354ad 100644 --- a/fake/buckets_test.go +++ b/fake/buckets_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/clusters.go b/fake/clusters.go index a23471d..ec2d822 100644 --- a/fake/clusters.go +++ b/fake/clusters.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/clusters_test.go b/fake/clusters_test.go index 1c66965..04953d6 100644 --- a/fake/clusters_test.go +++ b/fake/clusters_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/engine.go b/fake/engine.go index 70617a0..e91dce6 100644 --- a/fake/engine.go +++ b/fake/engine.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/errors.go b/fake/errors.go index f0712af..f61b624 100644 --- a/fake/errors.go +++ b/fake/errors.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/permission_keys.go b/fake/permission_keys.go index 7a8b6e5..7acdb18 100644 --- a/fake/permission_keys.go +++ b/fake/permission_keys.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/permissions.go b/fake/permissions.go index c6d0dfa..e733e8a 100644 --- a/fake/permissions.go +++ b/fake/permissions.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/permissions_test.go b/fake/permissions_test.go index 4e320ac..ecc1775 100644 --- a/fake/permissions_test.go +++ b/fake/permissions_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/account_keys.go b/fake/server/account_keys.go index f5c2d90..ae107e2 100644 --- a/fake/server/account_keys.go +++ b/fake/server/account_keys.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/accounts.go b/fake/server/accounts.go index 1e62654..f5dad56 100644 --- a/fake/server/accounts.go +++ b/fake/server/accounts.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/buckets.go b/fake/server/buckets.go index 8566558..f5a0dce 100644 --- a/fake/server/buckets.go +++ b/fake/server/buckets.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/clusters.go b/fake/server/clusters.go index 865a9a1..37eaaa7 100644 --- a/fake/server/clusters.go +++ b/fake/server/clusters.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/permission_keys.go b/fake/server/permission_keys.go index 5f02b94..89b0e43 100644 --- a/fake/server/permission_keys.go +++ b/fake/server/permission_keys.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/permissions.go b/fake/server/permissions.go index e8fdf07..d3b48ee 100644 --- a/fake/server/permissions.go +++ b/fake/server/permissions.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/server.go b/fake/server/server.go index 189e1b3..e2eb193 100644 --- a/fake/server/server.go +++ b/fake/server/server.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/server_test.go b/fake/server/server_test.go index db83725..f165575 100644 --- a/fake/server/server_test.go +++ b/fake/server/server_test.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/server/site_status.go b/fake/server/site_status.go index 6953a60..2afb37e 100644 --- a/fake/server/site_status.go +++ b/fake/server/site_status.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fake/site_status.go b/fake/site_status.go index 48da572..f939993 100644 --- a/fake/site_status.go +++ b/fake/site_status.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/permissions.go b/permissions.go index 2a1c140..16727f1 100644 --- a/permissions.go +++ b/permissions.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/site_status.go b/site_status.go index 467f201..f04c39c 100644 --- a/site_status.go +++ b/site_status.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/sites.go b/sites.go index 5c87228..118d7a4 100644 --- a/sites.go +++ b/sites.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/version.go b/version.go index 7c0eb17..404e494 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ -// Copyright 2022-2023 The sacloud/object-storage-api-go authors +// Copyright 2022-2025 The sacloud/object-storage-api-go authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.