# `mix polar_express.generate`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/mix/tasks/polar_express.generate.ex#L1)

Generate Polar API modules from the OpenAPI spec.

    mix polar_express.generate              # Generate all files
    mix polar_express.generate --clean      # Remove old generated files first
    mix polar_express.generate --dry-run    # Preview what would be generated
    mix polar_express.generate --stats      # Show generation statistics

---

*Consult [api-reference.md](api-reference.md) for complete listing*
