Page tree

Skip to end of metadata
Go to start of metadata

The OpenAPI/Swagger Validator tool validates OpenAPI and Swagger service definitions in either YAML of JSON format. The test step will fail if the file definition does not conform to the requirements of the specification. OpenAPI 2 and 3 are supported.

  1. Right-click on a test suite and choose Add New > Test... 
  2. Choose a test type (standard, set-up, or tear-down) and choose OpenAPI/Swagger Validator.
  3. Click Finish and specify the URL or path to the definition file you want to validate in the OpenAPI/Swagger Definition URL field.
  4. Rename your test (optional) and save your changes.

If the definition file contains errors, they will be reported in the Quality Tasks view, as well as in the report.

  • No labels