Files
redocly-cli/__tests__/lint/no-empty-servers-warning/snapshot.js

27 lines
421 B
JavaScript

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`E2E lint no-empty-servers-warning 1`] = `
validating /openapi.yaml...
[1] openapi.yaml:6:1 at #/servers
Servers must be a non-empty array.
4 | version: 1.0
5 |
6 | servers:
| ^^^^^^^^
7 |
8 | paths:
Warning was generated by the no-empty-servers rule.
/openapi.yaml: validated in <test>ms
Woohoo! Your API description is valid. 🎉
You have 1 warning.
`;