Skip to content

Commit b5ff02b

Browse files
feat: update testapi to latest unified test OpenAPI spec (#390)
1 parent 556d18b commit b5ff02b

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-07-15T16:03:28Z main cfb74bfba29b6c71eb0b8a0870d5c7c1b004f0a6
1+
2025-07-25T21:02:17Z main 63c97774c0e15d3a9de663dbdefaf32abf417fcb

pkg/apiclients/testapi/2024-10-15/spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,6 @@ components:
12411241
type: string
12421242
required:
12431243
- source
1244-
- paths
12451244
- reachability
12461245
type: object
12471246
ReachabilityType:
@@ -2889,6 +2888,7 @@ paths:
28892888
pathId: org_id
28902889
permissions:
28912890
- read
2891+
- package.test
28922892
type: org
28932893
skip: false
28942894
x-snyk-api-lifecycle: released
@@ -3105,7 +3105,7 @@ paths:
31053105
x-stability-level: beta
31063106
servers:
31073107
- description: test-api-shim
3108-
url: /closed-beta
3108+
url: /rest
31093109
tags:
31103110
- description: The OpenAPI specification for test-api-shim.
31113111
name: OpenAPI

pkg/apiclients/testapi/testapi.gen.go

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

scripts/pull-down-test-api-spec.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,10 @@ cd -
3333
# place OpenAPI build artifacts
3434
mkdir -p $TEST_API_GENERATED
3535

36-
cp $API_SPEC_PATH/internal/api/closed-beta/versions/2024-10-15/spec.yaml $TEST_API_GENERATED/spec.yaml
36+
# copy beta API spec
37+
# cp $API_SPEC_PATH/internal/api/closed-beta/versions/2024-10-15/spec.yaml $TEST_API_GENERATED/spec.yaml
38+
39+
# copy public API spec
40+
cp $API_SPEC_PATH/internal/api/public/versions/2024-10-15/spec.yaml $TEST_API_GENERATED/spec.yaml
41+
3742
echo $GENERATE_DATE $API_SPEC_BRANCH $API_COMMIT > $TEST_API_GENERATED/generated.txt

0 commit comments

Comments
 (0)