Commit bfe9fa3
committed
test: use Petstore spec from GitHub
We're seeing intermittent issues from the Petstore project such as:
error loading swagger spec in spec.yaml
: failed to load OpenAPI specification: error resolving reference
"https://petstore3.swagger.io/api/v3/openapi.json#/components/schemas/Pet":
error loading "https://petstore3.swagger.io/api/v3/openapi.json":
request returned status code 403
We can try and switch to the raw spec in GitHub to do this lookup, to
avoid hitting the Petstore API.
It's unclear if GitHub are going to be more performant, but it may help.1 parent a63186f commit bfe9fa3
3 files changed
Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
0 commit comments