Files
redocly-cli/__tests__/lint/assertions-casing-pascal-case-error/snapshot.js
2023-05-18 09:21:40 +02:00

55 lines
1.3 KiB
JavaScript

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`E2E lint assertions-casing-pascal-case-error 1`] = `
validating /openapi.yaml...
[1] openapi.yaml:19:20 at #/paths/~1pet~1findByStatus/get/operationId
Operation id should be PascalCase
17 | /pet/findByStatus:
18 | get:
19 | operationId: get-ExampleId
| ^^^^^^^^^^^^^
20 | summary: summary example
21 | tags:
Error was generated by the operation-get assertion rule.
[2] openapi.yaml:19:20 at #/paths/~1pet~1findByStatus/get/operationId
Operation id should be PascalCase
17 | /pet/findByStatus:
18 | get:
19 | operationId: get-ExampleId
| ^^^^^^^^^^^^^
20 | summary: summary example
21 | tags:
Error was generated by the operation-id-pascal-case assertion rule.
[3] openapi.yaml:31:20 at #/paths/~1pet~1findByStatus/post/operationId
Operation id should be PascalCase
29 | description: example description
30 | post:
31 | operationId: post-ExampleId
| ^^^^^^^^^^^^^^
32 | summary: summary example
33 | responses:
Error was generated by the operation-id-pascal-case assertion rule.
/openapi.yaml: validated in <test>ms
❌ Validation failed with 3 errors.
run \`redocly lint --generate-ignore-file\` to add all problems to the ignore file.
`;