mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
chore: rename 'lint' to 'styleguide' (#790)
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
This commit is contained in:
27
__tests__/lint/deprecated-apiDefinitions/snapshot.js
Normal file
27
__tests__/lint/deprecated-apiDefinitions/snapshot.js
Normal 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.
|
||||
|
||||
|
||||
`;
|
||||
Reference in New Issue
Block a user