fix(cli): support piping query parameter validation into fern definition generation & fix file typo. #8588
ci.yml
on: pull_request
ts-generator-changes
16s
lint
2m 12s
compile
2m 43s
eslint
2m 4s
test
7m 57s
ete-tests
4m 52s
live-test-dev
0s
live-test-dev-windows
0s
node-version-tests
0s
cloudflare-startup-tests
0s
browser-startup-tests
0s
Annotations
5 errors and 9 warnings
src/tests/write-definition/writeDefinition.test.ts > validate > petstore:
packages/cli/ete-tests/src/tests/write-definition/writeDefinition.test.ts#L44
Error: Snapshot `validate > petstore 1` mismatched
- Expected
+ Received
@@ -62,10 +62,12 @@
name: ListPetsRequest
query-parameters:
limit:
docs: How many items to return at one time (max 100)
type: optional<integer>
+ validation:
+ max: 100
response:
docs: A paged array of pets
type: root.Pets
source:
openapi: openapi/openapi.yml
❯ src/tests/write-definition/writeDefinition.test.ts:44:102
|
src/tests/write-definition/writeDefinition.test.ts > validate namespaced API > namespaced:
packages/cli/ete-tests/src/tests/write-definition/writeDefinition.test.ts#L44
Error: Snapshot `validate namespaced API > namespaced 1` mismatched
- Expected
+ Received
@@ -95,10 +95,12 @@
name: ListPetsRequest
query-parameters:
limit:
docs: How many items to return at one time (max 100)
type: optional<integer>
+ validation:
+ max: 100
response:
docs: A paged array of pets
type: neopetsRoot.Pets
source:
openapi: openapi/petstore/openapi.yml
@@ -1249,16 +1251,20 @@
station's timezone.
type: datetime
destination:
docs: The ID of the destination station
type: string
+ validation:
+ format: uuid
dogs:
docs: Only return trips where dogs are known to be allowed
type: optional<boolean>
origin:
docs: The ID of the origin station
type: string
+ validation:
+ format: uuid
response:
docs: A list of available train trips
type: GetTripsResponse
source:
openapi: openapi/trains/openapi.yml
❯ src/tests/write-definition/writeDefinition.test.ts:44:102
|
src/tests/write-definition/writeDefinition.test.ts > validate header overrides > header-overrides:
packages/cli/ete-tests/src/tests/write-definition/writeDefinition.test.ts#L44
Error: Snapshot `validate header overrides > header-overrides 1` mismatched
- Expected
+ Received
@@ -64,10 +64,12 @@
name: ListPetsRequest
query-parameters:
limit:
docs: How many items to return at one time (max 100)
type: optional<integer>
+ validation:
+ max: 100
response:
docs: A paged array of pets
type: root.Pets
source:
openapi: openapi/openapi.yml
❯ src/tests/write-definition/writeDefinition.test.ts:44:102
|
ete-tests
Process completed with exit code 1.
|
test
Process completed with exit code 1.
|
ts-generator-changes
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
ts-generator-changes
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, dorny/paths-filter@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
ts-generator-changes
The process '/usr/bin/git' failed with exit code 128
|
eslint
The process '/usr/bin/git' failed with exit code 128
|
lint
The process '/usr/bin/git' failed with exit code 128
|
compile
The process '/usr/bin/git' failed with exit code 128
|
ete-tests
The process '/usr/bin/git' failed with exit code 128
|
test
The process '/usr/bin/git' failed with exit code 128
|
test
Restore cache failed: Dependencies file is not found in /home/runner/work/fern/fern. Supported file pattern: go.sum
|