Skip to content

Register ::API::Validations::Validators::Limit in grape_validators.rb

Marvin Gay requested to merge 456835-register-limit-validator-in-grape into master

What does this MR do and why?

The custom validator Limit is not registered in our grape_validators.rb, as a result, an exception is raised when, in the discovered case, we attempt to mount an API namespace and update our OpenAPI documentation that uses this validator.

This MR registers that validator.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

This is purely a code change. See issue for the bug that warrants this MR.

Related to #456835 (closed)

Merge request reports