chore: rename 'lint' to 'styleguide' (#790)

Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
This commit is contained in:
Roman Sainchuk
2022-08-05 14:53:51 +03:00
committed by GitHub
parent c22bf08b1a
commit 43d0f60955
177 changed files with 935 additions and 634 deletions

View File

@@ -0,0 +1,27 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`E2E lint deprecated-apiDefinitions 1`] = `
The apiDefinitions field is deprecated. Use apis instead. Read more about this change: https://redocly.com/docs/api-registry/guides/migration-guide-config-file/#changed-properties
The lint field is deprecated. Use styleguide instead. Read more about this change: https://redocly.com/docs/api-registry/guides/migration-guide-config-file/#changed-properties
validating /openapi.yaml...
[1] openapi.yaml:2:1 at #/info/contact
Info object should contain \`contact\` field.
1 | openapi: 3.1.0
2 | info:
| ^^^^
3 | title: Example OpenAPI 3 definition.
4 | version: 1.0
Warning was generated by the info-contact rule.
/openapi.yaml: validated in <test>ms
Woohoo! Your OpenAPI definition is valid. 🎉
You have 1 warning.
`;