Skip to content

feat(typescript): Support inline types in TypeScript generator #9330

feat(typescript): Support inline types in TypeScript generator

feat(typescript): Support inline types in TypeScript generator #9330

Triggered via pull request December 11, 2024 19:42
Status Failure
Total duration 5m 22s
Billable time 15m
Artifacts

ci.yml

on: pull_request
node-version-tests
0s
node-version-tests
cloudflare-startup-tests
0s
cloudflare-startup-tests
browser-startup-tests
0s
browser-startup-tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
test
Process completed with exit code 1.
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 @@ -198,24 +198,27 @@ enum: - place - trade - cancel - initial + inline: true source: openapi: asyncapi/sample.yml EventsItemSide: enum: - bid - side + inline: true source: openapi: asyncapi/sample.yml EventsItemType: enum: - trade - change - name: AuctionBlockTrade value: auction, block_trade + inline: true source: openapi: asyncapi/sample.yml Heartbeat: extends: - Default @@ -366,10 +369,11 @@ - eur - gbp - nok - sek - try + inline: true source: openapi: openapi/trains/openapi.yml BookingPaymentSource: base-properties: {} discriminant: object @@ -423,18 +427,20 @@ The type of entity that holds the account. This can be either `individual` or `company`. enum: - individual - company + inline: true source: openapi: openapi/trains/openapi.yml BookingPaymentStatus: docs: The status of the payment, one of `pending`, `succeeded`, or `failed`. enum: - pending - succeeded - failed + inline: true source: openapi: openapi/trains/openapi.yml Card: docs: A card (debit or credit) to take payment from. inline: true ❯ src/tests/write-definition/writeDefinition.test.ts:44:102
src/tests/write-definition/writeDefinition.test.ts > validate namespaced API from Cohere > namespaced-fleshedout: packages/cli/ete-tests/src/tests/write-definition/writeDefinition.test.ts#L44
Error: Snapshot `validate namespaced API from Cohere > namespaced-fleshedout 1` mismatched - Expected + Received @@ -65,10 +65,11 @@ - AUTO_PRESERVE_ORDER: Azure, AWS Sagemaker/Bedrock, Private Deployments enum: - 'OFF' - AUTO - AUTO_PRESERVE_ORDER + inline: true source: openapi: openapi/cohere.yaml ChatRequestSafetyMode: docs: > Used to select the [safety instruction](/docs/safety-modes) inserted into @@ -90,10 +91,11 @@ Private Deployments enum: - CONTEXTUAL - STRICT - NONE + inline: true source: openapi: openapi/cohere.yaml ClientClosedRequestErrorBody: properties: data: optional<string> @@ -683,10 +685,11 @@ Private Deployments enum: - CONTEXTUAL - STRICT - NONE + inline: true source: openapi: openapi/cohere-v2.yaml service: auth: false base-path: '' ❯ src/tests/write-definition/writeDefinition.test.ts:44:102
ete-tests
Process completed with exit code 1.
ts-generator-changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ts-generator-changes
The process '/usr/bin/git' failed with exit code 128
eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
eslint
The process '/usr/bin/git' failed with exit code 128
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
The process '/usr/bin/git' failed with exit code 128
compile
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
ete-tests
The process '/usr/bin/git' failed with exit code 128