OpenAPI / Swagger ImportFree
If you already have an OpenAPI specification, you can import it directly to generate a complete Rest Faker project without manually defining each route.
Supported Formats
How to Import
Open the Import dialog
From your project list, click the Import OpenAPI button.
Paste or upload your spec
Paste the spec text directly, or upload a .json, .yaml, or .yml file.
Preview & select routes
Rest Faker parses the spec and shows every detected route with its mapped fields. Deselect any routes you don't need.
Confirm import
Give the project a name and click Import. A new project is created with all selected routes ready to use.
Automatic Field Mapping
Rest Faker automatically maps spec field types and common field names to the appropriate Faker.js generators so your mock data looks realistic out of the box.
format: email → internet.emailformat: date-time → date.recentformat: uri → internet.urlformat: uuid → string.uuidfirstName, lastName → person.firstName / lastNameprice, amount → commerce.priceavatar, image → image.avatarphone, mobile → phone.numberFields that cannot be mapped are flagged as unmapped in the preview — you can assign them manually before confirming.
Free on every plan
OpenAPI / Swagger import is available on all plans, including Free. Each import is bounded by your plan's schema limit — the Free plan imports up to 10 routes per project. Specs with more routes will prompt you to deselect some routes or upgrade to Enterprise (up to 1,000 schemas) to import them all.