Application Configuration
Example
json
{
"name": "AutoAPI Test Application",
"language": "ts",
"outputDir": "./api/auto"
}Parameter Description
name
- Type: string
The name of the application, which can be configured in the console.
language
- Type: string
- Optional values:
'dart' | 'ts' | 'arkTs' | 'uniapp' - Specified via parameter when executing
autoapi init -l dart
The type of generated language. Currently supports:
- dart: For Flutter/Dart projects
- ts: For TypeScript projects
- arkTs: For HarmonyOS ArkTS projects
- uniapp: For UniApp cross-platform projects
outputDir
- Type: string
- Use relative path
The storage location for generated API files.