Import a Swagger 2.0 API contract.
Procedure
- In REQUESTS > REPOSITORY or in the SCENARIOS view, click Import at the bottom of the left panel.
- Click Import Swagger 2.0.
-
Enter a project name and select a source.
You can choose to upload a file, enter a URL, or directly copy your code.
-
Import your Swagger file:
- If you chose File as a source, click Choose a file and upload it.
- If you chose URL, enter your URL and click Load.
- If you chose Copy, enter your code.
Only JSON is supported. - Click Import.