diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa43aa..69695a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.0.22] - 2026-06-18 + +### Fixed + +- Added missing `kind` field to NodePool creation example + ## [1.0.21] - 2026-06-02 ### Removed @@ -200,7 +206,8 @@ First official stable release of the HyperFleet API specification. - Interactive API documentation -[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.21...HEAD +[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.22...HEAD +[1.0.22]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.21...v1.0.22 [1.0.21]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.20...v1.0.21 [1.0.20]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.18...v1.0.20 [1.0.18]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.17...v1.0.18 diff --git a/core/models/nodepool/example_post.tsp b/core/models/nodepool/example_post.tsp index f079832..f2175ac 100644 --- a/core/models/nodepool/example_post.tsp +++ b/core/models/nodepool/example_post.tsp @@ -2,6 +2,7 @@ import "./model.tsp"; import "../../../shared/models/nodepools/model.tsp"; const exampleNodePoolCreateRequest: NodePoolCreateRequest = #{ + kind: "NodePool", name: "worker-pool-1", labels: #{ environment: "production", pooltype: "worker" }, spec: #{}, diff --git a/main.tsp b/main.tsp index 637057f..b068683 100644 --- a/main.tsp +++ b/main.tsp @@ -30,7 +30,7 @@ using OpenAPI; */ @service(#{ title: "HyperFleet API" }) @info(#{ - version: "1.0.21", + version: "1.0.22", contact: #{ name: "HyperFleet Team", url: "https://github.com/openshift-hyperfleet", diff --git a/package-lock.json b/package-lock.json index 31085cb..68e09a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hyperfleet", - "version": "1.0.20", + "version": "1.0.22", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hyperfleet", - "version": "1.0.20", + "version": "1.0.22", "devDependencies": { "@stoplight/spectral-cli": "6.15.1", "@typespec/compiler": "^1.6.0", diff --git a/package.json b/package.json index c275f09..0779718 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hyperfleet", - "version": "1.0.20", + "version": "1.0.22", "type": "module", "exports": { "./*": "./*" diff --git a/schemas/core/openapi.yaml b/schemas/core/openapi.yaml index 1307040..9ea0d9c 100644 --- a/schemas/core/openapi.yaml +++ b/schemas/core/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: title: HyperFleet API - version: 1.0.21 + version: 1.0.22 contact: name: HyperFleet Team url: https://github.com/openshift-hyperfleet @@ -2189,6 +2189,7 @@ components: spec: $ref: '#/components/schemas/NodePoolSpec' example: + kind: NodePool name: worker-pool-1 labels: environment: production