Skip to content

feat: upgrading our openapi parser to support OAS 3.1.1 and 3.0.4 #2658

feat: upgrading our openapi parser to support OAS 3.1.1 and 3.0.4

feat: upgrading our openapi parser to support OAS 3.1.1 and 3.0.4 #2658

Triggered via pull request January 24, 2025 22:39
Status Failure
Total duration 1m 5s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
test/index.test.ts > #validate > should colorize errors when `opts.colorizeErrors` is present: packages/oas-normalize/test/index.test.ts#L366
Error: Snapshot `#validate > should colorize errors when `opts.colorizeErrors` is present 1` mismatched - Expected + Received [SyntaxError: OpenAPI schema validation failed. - REQUIRED must have required property 'name' + REQUIRED must have required property 'name' 24 | "components": { 25 | "securitySchemes": { > 26 | "tlsAuth": { - | ^ ☹️ name is missing here! + | ^ ☹️ name is missing here! 27 | "type": "mutualTLS" 28 | } 29 | }] ❯ test/index.test.ts:366:5
test (lts/*)
Process completed with exit code 1.
test/index.test.ts > #validate > should colorize errors when `opts.colorizeErrors` is present: packages/oas-normalize/test/index.test.ts#L366
Error: Snapshot `#validate > should colorize errors when `opts.colorizeErrors` is present 1` mismatched - Expected + Received [SyntaxError: OpenAPI schema validation failed. - REQUIRED must have required property 'name' + REQUIRED must have required property 'name' 24 | "components": { 25 | "securitySchemes": { > 26 | "tlsAuth": { - | ^ ☹️ name is missing here! + | ^ ☹️ name is missing here! 27 | "type": "mutualTLS" 28 | } 29 | }] ❯ test/index.test.ts:366:5
test (latest)
Process completed with exit code 1.
test (lts/-1)
The job was canceled because "latest" failed.
test/index.test.ts > #validate > should colorize errors when `opts.colorizeErrors` is present: packages/oas-normalize/test/index.test.ts#L366
Error: Snapshot `#validate > should colorize errors when `opts.colorizeErrors` is present 1` mismatched - Expected + Received [SyntaxError: OpenAPI schema validation failed. - REQUIRED must have required property 'name' + REQUIRED must have required property 'name' 24 | "components": { 25 | "securitySchemes": { > 26 | "tlsAuth": { - | ^ ☹️ name is missing here! + | ^ ☹️ name is missing here! 27 | "type": "mutualTLS" 28 | } 29 | }] ❯ test/index.test.ts:366:5
test (lts/-1)
Process completed with exit code 1.
test (lts/*)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test (latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636