Skip to content

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'
  • Specified via parameter when executing autoapi init -l dart

The type of generated language. Currently supports Dart and TypeScript.

outputDir

  • Type: string
  • Use relative path

The storage location for generated API files.