feat: upgrading our openapi parser to support OAS 3.1.1 and 3.0.4 #2658
Annotations
2 errors and 1 warning
Run tests:
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
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading