OpenAPI Import
Generate mock endpoints from your OpenAPI specs instantly.
Supported Formats
- OpenAPI 3.0.x (JSON or YAML)
- OpenAPI 3.1.x (JSON or YAML)
- Swagger 2.0 (JSON or YAML)
How to Import
- Open your project and click "Import Spec"
- Paste your OpenAPI spec (JSON or YAML)
- Click "Import"
- Endpoints are created based on paths and methods
Response Generation
Mockspec generates mock responses from your spec:
- Uses
examplevalues from schemas when available - Generates realistic data based on schema types and formats
- Respects required fields and default values
Import Options
- Overwrite existing - Replace endpoints with matching method + path
- Skip duplicates - Keep existing endpoints, only add new ones
Need help? Contact support