Skip to main content Skip to complementary content
Close announcements banner

Importing a Swagger file

Import a Swagger 2.0 API contract.

Procedure

  1. In REQUESTS > REPOSITORY or in the SCENARIOS view, click Import at the bottom of the left panel.
  2. Click Import Swagger 2.0.
  3. Enter a project name and select a source.
    You can choose to upload a file, enter a URL, or directly copy your code.
    Swagger Import dialog box.
  4. 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.
  5. Click Import.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!