validateMethodParams

validateMethodParams(meth: Method): Boolean typeMethod;

The validateMethodParams method of the JadeOpenAPI class enables you to check whether the parameters of a JADE REST API method can be successfully exposed in an OpenAPI specification.

For the JADE REST API method to be valid, the following rules must be satisfied for each parameter.

The validateMethodParams method returns true if all parameters meet all of the above rules; otherwise it returns false.

2020.0.02 and higher