Files
redocly-cli/__tests__/lint/assertions-query-in-parameters/snapshot.js
2023-05-31 12:01:20 +02:00

27 lines
676 B
JavaScript

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`E2E lint assertions-query-in-parameters 1`] = `
validating /openapi.yaml...
[1] openapi.yaml:23:15 at #/paths/~1pet~1findByStatus/get/parameters/0/in
query-in-parameters assertion failed because the Parameter in didn't meet the assertions: query should be equal path
21 | parameters:
22 | - name: statusId
23 | in: query
| ^^^^^
24 | - name: otherParam
25 | in: query
Error was generated by the query-in-parameters 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.
`;