mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
chore: wip config validation, extend types before (#1520)
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
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. Read more about this change: https://redocly.com/docs/api-registry/guides/migration-guide-config-file/#changed-properties
|
||||
[1] redocly.yaml:1:1 at #/apiDefinitions
|
||||
|
||||
Property \`apiDefinitions\` is not expected here.
|
||||
@@ -31,8 +33,6 @@ Warning was generated by the configuration spec rule.
|
||||
|
||||
|
||||
⚠️ Your config has 2 warnings.
|
||||
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. 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user