lint/.automation/test/openapi
Brett Logan f0e69a5a7d
Cleanup YAML Linting and Enable Rules (#2301)
* Fix yaml linting issues

* Enable yamllint rules

* Replace comment

* Address linting and set line-length longer

Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2022-01-06 09:59:15 -06:00
..
openapi_bad_1.yml Cleanup YAML Linting and Enable Rules (#2301) 2022-01-06 09:59:15 -06:00
openapi_bad_2.json Install, configure, and run jscpd. Add missing tests (#1032) 2021-01-27 20:47:34 +01:00
openapi_good_1.yml Cleanup YAML Linting and Enable Rules (#2301) 2022-01-06 09:59:15 -06:00
openapi_good_2.json Install, configure, and run jscpd. Add missing tests (#1032) 2021-01-27 20:47:34 +01:00
README.md Format Markdown 2020-07-21 12:08:05 -05:00

OpenAPI Test Cases

This folder holds the test cases for OpenAPI.

Additional Docs

The _bad_ tests are valid .yml/.json but invalid OpenAPI specs. The test extensions used are .ymlopenapi/.jsonopenapi instead of .yml/.json. This is to prevent the [YAML] and [JSON] tests from picking them up.

Good Test Cases

The test cases denoted: LANGUAGE_good_FILE.EXTENSION are all valid, and should pass successfully when linted.

  • Note: They are linted utilizing the default linter rules.

Bad Test Cases

The test cases denoted: LANGUAGE_bad_FILE.EXTENSION are NOT valid, and should trigger errors when linted.

  • Note: They are linted utilizing the default linter rules.