Skip to content

Commit 33c382a

Browse files
committed
fix: circumvent fern bug with utoipa config
1 parent ff3b52c commit 33c382a

File tree

71 files changed

+765
-762
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+765
-762
lines changed

Cargo.lock

Lines changed: 50 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

out/openapi.json

Lines changed: 53 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/api-peer/src/runner_configs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub struct UpsertPath {
114114
#[derive(Deserialize, Serialize, ToSchema)]
115115
#[serde(deny_unknown_fields)]
116116
#[schema(as = RunnerConfigsUpsertRequest)]
117-
pub struct UpsertRequest(namespace::types::RunnerConfig);
117+
pub struct UpsertRequest(#[schema(inline)] namespace::types::RunnerConfig);
118118

119119
#[derive(Deserialize, Serialize, ToSchema)]
120120
#[schema(as = RunnerConfigsUpsertResponse)]

scripts/fern/gen.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#!/usr/bin/env bash
22
set -euf -o pipefail
33

4-
FERN_GROUP=runtime ./scripts/fern/gen_inner.sh &
5-
FERN_GROUP=full ./scripts/fern/gen_inner.sh &
6-
wait
4+
FERN_GROUP=full ./scripts/fern/gen_inner.sh
75

86
# Pack API for frontend
97
# (cd sdks/api/full/typescript && yarn install && yarn pack --out ../../../../frontend/apps/hub/vendor/rivet-gg-api.tgz)
@@ -13,4 +11,3 @@ wait
1311

1412
# Update lockfile
1513
pnpm install
16-

sdks/api/fern/fern.config.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/go/api-full/client/client.go

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/go/api-full/namespaces_runner_configs.go

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

sdks/go/api-full/runner_configs.go

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdks/go/api-full/namespacesrunnerconfigs/client.go renamed to sdks/go/api-full/runnerconfigs/client.go

Lines changed: 24 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)