Add a data source

Your project needs at least one data source. To create a data source, we will use an OpenAPI 2.0 Swagger file provided for this tutorial.

Importing the OpenAPI 2.0 Swagger file

The first step to create a data source is to import the Swagger file, as shown in the example below.

Click to import a data source
Drag or browse to an OpenAPI 2.0 file
Successfully imported a data source

Step

Description

1

Click vehicle_demo_swagger.yaml to download and save the file. (You may need to right-click and Save Link as...)

2

Click Create a new Data Source from the Project dashboard.

3

In the Data Sources pane, drop or browse to the file you just downloaded and import the file into your project.

4

After Xapix validates the schema file and no validation errors were identified, you should see the message "Schema was successfully imported".

Next step
Next step

Continue with View data sources.