Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 2d83c06

Browse files
Merge pull request #22 from hookdeck/dsheridan/update-openapi-spec
Improvement: Update OpenAPI spec
2 parents 7444b06 + 6585032 commit 2d83c06

File tree

8 files changed

+8239
-12198
lines changed

8 files changed

+8239
-12198
lines changed

.github/workflows/check.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: fern-check
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
run:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Install Fern
17+
run: npm install -g fern-api
18+
19+
- name: Check API is valid
20+
run: fern check

.github/workflows/ci.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: generate-sdks
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
jobs:
9+
run:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install Fern
16+
run: npm install -g fern-api
17+
18+
- name: Generate Go SDK
19+
env:
20+
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
21+
run: |
22+
fern generate --group publish --log-level debug --version ${{ github.ref_name }}

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,15 @@
22

33
Tagging a release on this repository will:
44

5-
- Update the [Go SDK GitHub Repo](https://github.com/hookdeck/hookdeck-go-sdk)
5+
- Update the [Go SDK](https://github.com/hookdeck/hookdeck-go-sdk)
66
- _More SDKs to come..._
77

88
## What is in this repository?
99

1010
This repository contains
1111

12-
- Hookdeck's Fern API Definition which lives in the [definition](./fern/api/definition/) folder
13-
- Generators (see [generators.yml](./fern/api/generators.yml))
14-
15-
## What is in the API Definition?
16-
17-
The API Definition contains information about what endpoints, types, and errors are used in the API. The definition is broken into smaller files such as [connection.yml](fern/api/definition/connection.yml) and [event.yml](fern/api/definition/event.yml).
12+
- Hookdeck's Fern API Definition which lives in the [OpenApi](./fern/openapi/) folder
13+
- Generators (see [generators.yml](./fern/generators.yml))
1814

1915
In order to make sure that the definition is valid, you can use the Fern CLI.
2016

@@ -25,7 +21,7 @@ fern check # Checks if the definition is valid
2521

2622
## What are Generators?
2723

28-
Generators read in your API Definition and output files or code (i.e. the TypeScript SDK Generator) and are tracked in [generators.yml](./fern/api/generators.yml).
24+
Generators read in your API Definition and output files or code (i.e. the TypeScript SDK Generator) and are tracked in [generators.yml](./fern/generators.yml).
2925

3026
### Local preview
3127

fern/fern.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"organization": "hookdeck",
3-
"version": "0.15.0-rc17"
3+
"version": "0.16.36"
44
}

fern/generators.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ groups:
22
local:
33
generators:
44
- name: fernapi/fern-go-sdk
5-
version: 0.6.1
5+
version: 0.9.4
66
config:
77
enableExplicitNull: true
88
module:
@@ -13,7 +13,7 @@ groups:
1313
publish:
1414
generators:
1515
- name: fernapi/fern-go-sdk
16-
version: 0.6.1
16+
version: 0.9.4
1717
config:
1818
enableExplicitNull: true
1919
github:

0 commit comments

Comments
 (0)