Skip to main content

Module schema

Module schema 

Source
Expand description

Path template resolution with param substitution.

Functions§

resolve_path
Resolve path template into concrete path by substituting {param} with values. Values come from params map (CLI -p), then env X_API_<PARAM_NAME> (uppercase, - → _).
validate_username
Validates and normalizes a username: strips leading @, checks 1-15 chars, [a-zA-Z0-9_]. Returns the normalized username (without @).