mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-08 12:47:48 +00:00
44 lines
985 B
JavaScript
44 lines
985 B
JavaScript
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`E2E bundle lint format bundle lint: should be formatted by format: json 1`] = `
|
|
{
|
|
"totals": {
|
|
"errors": 1,
|
|
"warnings": 0,
|
|
"ignored": 0
|
|
},
|
|
"version": "<version>",
|
|
"problems": [
|
|
{
|
|
"ruleId": "spec",
|
|
"severity": "error",
|
|
"message": "Expected type \`MediaType\` (object) but got \`null\`",
|
|
"suggest": [],
|
|
"location": [
|
|
{
|
|
"source": {
|
|
"ref": "openapi.yaml"
|
|
},
|
|
"pointer": "#/paths/~1my_post/post/requestBody/content/application~1json",
|
|
"reportOnKey": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}{
|
|
"totals": {
|
|
"errors": 0,
|
|
"warnings": 0,
|
|
"ignored": 0
|
|
},
|
|
"version": "<version>",
|
|
"problems": []
|
|
}
|
|
❌ Validation failed with 1 error.
|
|
run \`redocly 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.
|
|
|
|
`;
|