mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-07 20:57:49 +00:00
fix: bundle lint --format doesn't work properly (#406)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`E2E bundle lint format bundle lint: should be formatted by format: codeframe 1`] = `
|
||||
|
||||
[1] openapi.yaml:20:11 at #/paths/~1my_post/post/requestBody/content/application~1json
|
||||
|
||||
Expected type \`MediaType\` (object) but got \`null\`
|
||||
|
||||
18 | requestBody:
|
||||
19 | content:
|
||||
20 | application/json:
|
||||
| ^^^^^^^^^^^^^^^^^
|
||||
21 |
|
||||
|
||||
Error was generated by the spec rule.
|
||||
|
||||
|
||||
❌ Validation failed with 1 error.
|
||||
run \`openapi lint --generate-ignore-file\` to add all problems to the ignore file.
|
||||
|
||||
bundling ./openapi.yaml...
|
||||
📦 Created a bundle for ./openapi.yaml at /tmp/null.yaml <test>ms.
|
||||
|
||||
`;
|
||||
Reference in New Issue
Block a user