validate_inputs: Validate that all user-defined inputs (GET query, POST body,...

View source: R/draft/ZZZ-api-engine.R View source: R/draft/validate-args.R View source: R/api-engine.R

validate_inputsR Documentation

Validate that all user-defined inputs (GET query, POST body, etc.) are valid

Description

Validate that all user-defined inputs (GET query, POST body, etc.) are valid

Usage

validate_inputs(input, allowed_vars)

Arguments

input

List of user-provided input parameters

allowed_vars

Character vector of allowed but not required variables

Value

No return. Throws errors if user-defined inputs are invalid.


projmgr documentation built on May 29, 2024, 5 a.m.