Application Configuration
Example
json
{
"framework": "flutter",
"language": "dart",
"outputDir": "./api/auto"
}Parameter Description
framework
- Type: string
- Optional values:
'react' | 'vue' | 'svelte' | 'angular' | 'flutter' - Specified via parameter when executing
apisorcery init -f flutter
The framework type for your project. This determines the appropriate code generation patterns and conventions.
language
- Type: string
- Optional values:
'dart' | 'ts' | 'arkTs' - Specified via parameter when executing
apisorcery init -l dart
The type of generated language. The relationship between framework and language:
| Framework | Language | Description |
|---|---|---|
| vue | ts | TypeScript for Vue.js projects |
| react | ts | TypeScript for React projects |
| angular | ts | TypeScript for Angular projects |
| svelte | ts | TypeScript for Svelte projects |
| flutter | dart | Dart for Flutter projects |
outputDir
- Type: string
- Use relative path
The storage location for generated API files.