... | ... | @@ -92,8 +92,19 @@ Please do the following: |
|
|
|
|
|
1. Click on the failed tests and check the log to see what's causing the errors.
|
|
|
2. If it's related to connection timeout in downloading dependencies, please restart the CI jobs (which can be done by closing and reopening the PR)
|
|
|
3.
|
|
|
|
|
|
### I ran the test locally and got errors (HTTP status code: 500) from the public petstore server. Is there a way to run the petstore locally for testing?
|
|
|
|
|
|
Yes, please run the following commands (assuming you've docker installed):
|
|
|
```sh
|
|
|
docker pull swaggerapi/petstore
|
|
|
docker run -d -e SWAGGER_HOST=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore
|
|
|
docker ps -a
|
|
|
```
|
|
|
Then add the following to your local host table:
|
|
|
```
|
|
|
127.0.0.1 petstore.swagger.io
|
|
|
```
|
|
|
|
|
|
## git
|
|
|
|
... | ... | |