From abcb4233fe7c653c78c8ecfdab29188bdc76f0f4 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:55:57 +0300 Subject: [PATCH 1/2] fix: Generate CloudQuery Go API Client from `spec.json` (#44) This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json` --- models.gen.go | 4 ++-- spec.json | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/models.gen.go b/models.gen.go index 3b4d534..ebc7e51 100644 --- a/models.gen.go +++ b/models.gen.go @@ -938,7 +938,7 @@ type CreateAddonVersionJSONBody struct { // AddonDeps addon dependencies in the format of ['team_name/addon_name@version'] AddonDeps *[]string `json:"addon_deps,omitempty"` - // Checksum SHA-256 checksums for this addon version. + // Checksum SHA-256 checksum for the addon asset Checksum string `json:"checksum"` // Doc Main README in MD format @@ -950,7 +950,7 @@ type CreateAddonVersionJSONBody struct { Message string `json:"message"` // PluginDeps plugin dependencies in the format of ['team_name/kind/plugin_name@version'] - PluginDeps *[]string `json:"plugin_deps,omitempty"` + PluginDeps []string `json:"plugin_deps"` } // ListPluginsParams defines parameters for ListPlugins. diff --git a/spec.json b/spec.json index cd70ed9..bb3074c 100644 --- a/spec.json +++ b/spec.json @@ -1567,7 +1567,8 @@ "required": [ "message", "doc", - "checksum" + "checksum", + "plugin_deps" ], "properties": { "message": { @@ -1585,7 +1586,8 @@ "items": { "type": "string" }, - "description": "plugin dependencies in the format of ['team_name/kind/plugin_name@version']" + "description": "plugin dependencies in the format of ['team_name/kind/plugin_name@version']", + "minItems": 1 }, "addon_deps": { "type": "array", @@ -1596,7 +1598,7 @@ }, "checksum": { "type": "string", - "description": "SHA-256 checksums for this addon version." + "description": "SHA-256 checksum for the addon asset" } } } @@ -4338,8 +4340,7 @@ "plugin_deps", "draft", "retracted", - "checksum", - "plugin_deps" + "checksum" ], "properties": { "created_at": { From 92b90f97a7ed6ad96f53ebaaf78204b61d40c0b1 Mon Sep 17 00:00:00 2001 From: CloudQuery Bot <102256036+cq-bot@users.noreply.github.com> Date: Wed, 18 Oct 2023 14:00:03 +0300 Subject: [PATCH 2/2] chore(main): Release v1.4.1 (#45) :robot: I have created a release *beep* *boop* --- ## [1.4.1](https://github.com/cloudquery/cloudquery-api-go/compare/v1.4.0...v1.4.1) (2023-10-18) ### Bug Fixes * Generate CloudQuery Go API Client from `spec.json` ([#44](https://github.com/cloudquery/cloudquery-api-go/issues/44)) ([abcb423](https://github.com/cloudquery/cloudquery-api-go/commit/abcb4233fe7c653c78c8ecfdab29188bdc76f0f4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2744723..09c71cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.4.1](https://github.com/cloudquery/cloudquery-api-go/compare/v1.4.0...v1.4.1) (2023-10-18) + + +### Bug Fixes + +* Generate CloudQuery Go API Client from `spec.json` ([#44](https://github.com/cloudquery/cloudquery-api-go/issues/44)) ([abcb423](https://github.com/cloudquery/cloudquery-api-go/commit/abcb4233fe7c653c78c8ecfdab29188bdc76f0f4)) + ## [1.4.0](https://github.com/cloudquery/cloudquery-api-go/compare/v1.3.0...v1.4.0) (2023-10-17)