Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.27] - 2026-07-01

### Added

- Go module support (`go.mod` + `schemas/schemas.go`) for downstream Go consumers (HYPERFLEET-1202)

## [1.0.24] - 2026-06-22

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/openshift-hyperfleet/hyperfleet-api-spec-template

go 1.25.0
2 changes: 1 addition & 1 deletion main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ using OpenAPI;
*/
@service(#{ title: "HyperFleet API" })
@info(#{
version: "1.0.26",
version: "1.0.27",
contact: #{
name: "HyperFleet Team",
url: "https://github.com/openshift-hyperfleet",
Expand Down
7 changes: 0 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions schemas/schemas.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package schemas

import "embed"

//go:embed template/openapi.yaml
var FS embed.FS
2 changes: 1 addition & 1 deletion schemas/template/openapi.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: HyperFleet API
version: 1.0.26
version: 1.0.27
contact:
name: HyperFleet Team
url: https://github.com/openshift-hyperfleet
Expand Down
2 changes: 1 addition & 1 deletion schemas/template/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ info:
name: Apache 2.0
url: 'https://www.apache.org/licenses/LICENSE-2.0'
title: HyperFleet API
version: 1.0.26
version: 1.0.27
host: hyperfleet.redhat.com
basePath: /
schemes:
Expand Down