# `BB.Dsl.ParameterTransformer`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/dsl/parameter_transformer.ex#L5)

Generates parameter schema and default values from DSL definitions.

This transformer processes the `parameters` section, generating:
- `__bb_parameter_schema__/0` - Returns the Spark.Options schema for validation
- `__bb_default_parameters__/0` - Returns default values as `{path, value}` tuples

At runtime, these are used by `BB.Robot.Runtime` to register parameters with
proper validation schemas.

A parameter's `min`/`max` bounds are folded into its generated type by
`BB.Parameter.Type.option_type/3`; bounds which can't be enforced - or a
default which doesn't satisfy them - fail the robot's compilation.

# `after_compile?`

---

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