Skip to content

wip: auto-generate openApi type #9

wip: auto-generate openApi type

wip: auto-generate openApi type #9

Triggered via push November 3, 2023 15:14
Status Failure
Total duration 38s
Artifacts

check.yml

on: push
Typecheck (Node.js v)
27s
Typecheck (Node.js v)
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Typecheck (Node.js v): doc-snippet-bot/src/generate-properties-table.ts#L15
'operation' is possibly 'undefined'.
Typecheck (Node.js v): doc-snippet-bot/src/generate-properties-table.ts#L15
Property 'type' does not exist on type 'operations'.
Typecheck (Node.js v): doc-snippet-bot/src/generate-properties-table.ts#L16
'operation' is possibly 'undefined'.
Typecheck (Node.js v): doc-snippet-bot/src/generate-properties-table.ts#L16
Property 'description' does not exist on type 'operations'.
Typecheck (Node.js v): doc-snippet-bot/src/generate-properties-table.ts#L16
'operation' is possibly 'undefined'.
Typecheck (Node.js v): doc-snippet-bot/src/generate-properties-table.ts#L16
Property 'description' does not exist on type 'operations'.
Typecheck (Node.js v): doc-snippet-bot/tests/generate-properties-table.test.ts#L26
Argument of type '{ access_code: { common_code_key: string | null; is_scheduled_on_device?: boolean | undefined; type: "time_bound" | "ongoing"; is_waiting_for_code_assignment?: boolean | undefined; ... 14 more ...; is_external_modification_allowed: boolean; }; ... 15 more ...; acs_user: { ...; }; }' is not assignable to parameter of type '{ [x: string]: operations; }'.
Typecheck (Node.js v): doc-snippet-bot/tests/generate-properties-table.test.ts#L52
Argument of type '{ access_code: { common_code_key: string | null; is_scheduled_on_device?: boolean | undefined; type: "time_bound" | "ongoing"; is_waiting_for_code_assignment?: boolean | undefined; ... 14 more ...; is_external_modification_allowed: boolean; }; ... 15 more ...; acs_user: { ...; }; }' is not assignable to parameter of type '{ [x: string]: operations; }'.
Typecheck (Node.js v)
Process completed with exit code 2.
Typecheck (Node.js v)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/