import_data
Create a live mock API from existing artifacts. Auto-detects: OpenAPI 3.x / Swagger 2.0 spec (JSON or YAML) → resources with realistic seeded data; json-server db.json → hosts your exact records; Postman Collection v2.x → resources from requests, saved example responses become records verbatim; CSV/TSV → one typed collection (numbers/booleans inferred per column). Max 512 KB. Returns {id, adminKey, baseUrl, warnings[]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Project name override. Optional. | |
| seed | No | Records to seed per resource for OpenAPI specs (default 20, max 100). | |
| content | Yes | The raw spec / db.json / collection / CSV text. | |
| resource | No | CSV only: collection name (default items). |