mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-09 04:21:15 +00:00
27 lines
638 B
JavaScript
27 lines
638 B
JavaScript
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`E2E lint assertions-enum-on-keys-error 1`] = `
|
|
|
|
validating /openapi.yaml...
|
|
[1] openapi.yaml:34:13 at #/paths/~1pet~1findByStatus/get/responses/200/content/application~1xml
|
|
|
|
Only application/json can be used
|
|
|
|
32 | items:
|
|
33 | $ref: '#/components/schemas/Dog'
|
|
34 | application/xml:
|
|
| ^^^^^^^^^^^^^^^
|
|
35 | schema:
|
|
36 | type: array
|
|
|
|
Error was generated by the media-type-application-json assertion rule.
|
|
|
|
|
|
/openapi.yaml: validated in <test>ms
|
|
|
|
❌ Validation failed with 1 error.
|
|
run \`redocly lint --generate-ignore-file\` to add all problems to the ignore file.
|
|
|
|
|
|
`;
|