Skip to main content
ant generate api creates a complete, ready-to-run Flask project from a template or a JSON spec.

Syntax

Arguments

Options

Examples

Bare scaffold

Creates my-api/ with the full project template and a single default route at GET /.

From a spec file

From an inline JSON string

Validate without generating

With verbose progress

Machine-readable output

What gets generated

Running ant generate api my-api --json api-spec.json creates:

Success output

Error cases

Running your project

After generation:
See Deployment for full details.