validateReturnType

validateReturnType(meth: Method): Boolean typeMethod;

The validateReturnType method of the JadeOpenAPI class enables you to check whether the return type 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 the return type of the method.

The validateMethodParams method returns true if the method has no return type or if it meets all the above rules; otherwise it returns false.

2020.0.02 and higher