validateApiConfig
validateApiConfig(
config):void
Defined in: packages/core/src/lambda/define.ts:151
Validate a single API/HTTP-API config’s routing surface. Throws [Axis]
errors on every D10 case. Called eagerly by the define* helpers and again
by the constructs at synth (defensive — a bare-annotation config skips the
helper). Scalar configs need no route validation (the type system already
forbids routes/basePath).
Parameters
Section titled “Parameters”config
Section titled “config”ApiLambdaConfig | HttpApiLambdaConfig
Returns
Section titled “Returns”void
© 2026 Axis Tech. Powered by axis-tech.co.