feat: upgrading our openapi parser to support OAS 3.1.1 and 3.0.4 #2658
Annotations
3 errors
|
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.
|
Loading