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) 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": {