mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates guides/api-testing-ci-environment.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -52,7 +52,15 @@ The following must be available in the CI environment prior to testing:
|
||||
## Testing an API
|
||||
To test an API within the CI environment provisioned as mentioned in the environment prerequisites you will need the following:
|
||||
|
||||
1. A `swagger.yaml` file with the description of API being tested.
|
||||
1. A `swagger.yaml` file with the description of API being tested
|
||||
|
||||
To fetch the swagger.yaml file from Apiary run the following command before the test:
|
||||
|
||||
```
|
||||
$apiary fetch --api-name="<API_NAME>" --output="swagger.yaml"
|
||||
```
|
||||
|
||||
EXAMPLE: `API_NAME=bomapi3`, `APIARY_API_KEY=122131212121212112`
|
||||
|
||||
1. The name (subodmain) of API project at Apiary
|
||||
|
||||
|
||||
Reference in New Issue
Block a user