public void addApiDefinition(final Method method, final String methodPath) {
        ApiDefinition apiDefinition = new ApiDefinition(this, method, methodPath);
        apiDefinitions.add(apiDefinition);
    }
Adds apiDefinition to apiBean.

@param method     apiMethod
@param methodPath methodPath
shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/ApiBean.java