Skip to content

Commit 64f5006

Browse files
Merge pull request #58 from tirthct/hyperfleet-1143
HYPERFLEET-1143 - chore: remove kind from list schemas
2 parents 61f6091 + d30ae93 commit 64f5006

6 files changed

Lines changed: 10 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.0.21] - 2026-06-02
11+
12+
### Removed
13+
14+
- `kind` property from `ClusterList`, `NodePoolList`, `AdapterStatusList`, and `ResourceList` list response schemas (HYPERFLEET-1143)
15+
1016
## [1.0.20] - 2026-06-02
1117

1218
### Fixed
@@ -194,7 +200,8 @@ First official stable release of the HyperFleet API specification.
194200
- Interactive API documentation
195201

196202
<!-- Links -->
197-
[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.20...HEAD
203+
[Unreleased]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.21...HEAD
204+
[1.0.21]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.20...v1.0.21
198205
[1.0.20]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.18...v1.0.20
199206
[1.0.18]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.17...v1.0.18
200207
[1.0.17]: https://github.com/openshift-hyperfleet/hyperfleet-api-spec/compare/v1.0.16...v1.0.17

main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ using OpenAPI;
3030
*/
3131
@service(#{ title: "HyperFleet API" })
3232
@info(#{
33-
version: "1.0.20",
33+
version: "1.0.21",
3434
contact: #{
3535
name: "HyperFleet Team",
3636
url: "https://github.com/openshift-hyperfleet",

schemas/core/openapi.yaml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.0
22
info:
33
title: HyperFleet API
4-
version: 1.0.20
4+
version: 1.0.21
55
contact:
66
name: HyperFleet Team
77
url: https://github.com/openshift-hyperfleet
@@ -1689,14 +1689,11 @@ components:
16891689
AdapterStatusList:
16901690
type: object
16911691
required:
1692-
- kind
16931692
- page
16941693
- size
16951694
- total
16961695
- items
16971696
properties:
1698-
kind:
1699-
type: string
17001697
page:
17011698
type: integer
17021699
format: int32
@@ -1712,7 +1709,6 @@ components:
17121709
$ref: '#/components/schemas/AdapterStatus'
17131710
description: List of adapter statuses with pagination metadata
17141711
example:
1715-
kind: AdapterStatusList
17161712
page: 1
17171713
size: 2
17181714
total: 2
@@ -1918,14 +1914,11 @@ components:
19181914
ClusterList:
19191915
type: object
19201916
required:
1921-
- kind
19221917
- page
19231918
- size
19241919
- total
19251920
- items
19261921
properties:
1927-
kind:
1928-
type: string
19291922
page:
19301923
type: integer
19311924
format: int32
@@ -2272,14 +2265,11 @@ components:
22722265
NodePoolList:
22732266
type: object
22742267
required:
2275-
- kind
22762268
- page
22772269
- size
22782270
- total
22792271
- items
22802272
properties:
2281-
kind:
2282-
type: string
22832273
page:
22842274
type: integer
22852275
format: int32
@@ -2603,14 +2593,11 @@ components:
26032593
ResourceList:
26042594
type: object
26052595
required:
2606-
- kind
26072596
- page
26082597
- size
26092598
- total
26102599
- items
26112600
properties:
2612-
kind:
2613-
type: string
26142601
page:
26152602
type: integer
26162603
format: int32

shared/models/common/model.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ model QueryParams {
214214
}
215215

216216
model List<T> {
217-
kind: string;
218217
page: int32;
219218
size: int32;
220219
total: int32;

shared/models/resource/model.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ model ResourcePatchRequest {
8282
}
8383

8484
model ResourceList {
85-
kind: string;
8685
page: int32;
8786
size: int32;
8887
total: int64;

shared/models/statuses/example_adapter_status.tsp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ const exampleAdapterStatusCreateRequest: AdapterStatusCreateRequest = (#{
104104

105105
// Example AdapterStatusList response (for GET /clusters/{id}/statuses)
106106
const exampleAdapterStatusList: AdapterStatusList = (#{
107-
kind: "AdapterStatusList",
108107
page: 1,
109108
size: 2,
110109
total: 2,

0 commit comments

Comments
 (0)