david-leifker 04d0a50118
feat(): Basepath support (#14866)
Co-authored-by: Esteban Gutierrez <esteban.gutierrez@acryl.io>
Co-authored-by: Chris Collins <chriscollins3456@gmail.com>
2025-10-01 11:08:38 -05:00
..
2025-10-01 11:08:38 -05:00

Goal

This test is configuration driven by json files which contain request/response sequences intended to detect unexpected regressions between releases.

Files can be executed in parallel but each request within the file is sequential.

Adding a test

Create a file for a given OpenAPI version which contains a list of request/response pairs in the following format.

The request json object is translated into the python request arguments and the response object is the expected status code and optional body.

[
  {
    "request": {
      "urn": "",
      "description": "",
      "method": "",
      "json": {}
    },
    "response": {
      "status_codes": [200],
      "exclude_regex_paths": [],
      "json": {}
    }
  }
]