chore: wip config validation, extend types before (#1520)

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
This commit is contained in:
Dmytro Anansky
2024-06-25 16:55:29 +03:00
committed by GitHub
parent 2bfef43b8a
commit c111952c2b
21 changed files with 371 additions and 152 deletions

View File

@@ -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