Skip to main content

HttpApiWrapperConfig

Configuration options for the httpApiWrapper. Allows customizing API route behavior, such as forbidding on production or allowing anonymous access.

Properties​

anonymous?​

optional anonymous: boolean

Whether to disables authentication/authorization for the route


forbidOnProd?​

optional forbidOnProd: boolean

Whether the route is forbidden in production environments