mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
* fix: add PatternProperties type to target patternProperties separately from properties * add changeset * remove redundancy * commit redocly.yaml and update .gitignore to only target root redocly.yaml * Update .changeset/sour-pandas-wave.md Co-authored-by: JLekawa <164185257+JLekawa@users.noreply.github.com> --------- Co-authored-by: JLekawa <164185257+JLekawa@users.noreply.github.com>
27 lines
704 B
JavaScript
27 lines
704 B
JavaScript
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`E2E lint assertions-patternProperties 1`] = `
|
|
|
|
validating /openapi.yaml...
|
|
[1] schema.json:4:5 at #/properties/incorrectlyNamedProperty
|
|
|
|
rule/response-in-snake_case failed because the SchemaProperties didn't meet the assertions: "incorrectlyNamedProperty" should use snake_case
|
|
|
|
2 | "type": "object",
|
|
3 | "properties": {
|
|
4 | "incorrectlyNamedProperty": {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
5 | "type": "string"
|
|
6 | },
|
|
|
|
Error was generated by the rule/response-in-snake_case 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.
|
|
|
|
|
|
`;
|