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 parameter must not be a system class (for example, Object)
-
The parameter must not be a MemoryAddress
-
If the parameter is a collection, the membership of the collection must not be a system class or MemoryAddress
The validateMethodParams method returns true if all parameters meet all of the above rules; otherwise it returns false.
2020.0.02 and higher