models.putAll(buildModels(endpoint, typeFactory.constructType(pluginVersion.getApiClass())));
if(plugin.isMethodAllowed(HttpMethod.GET))
models.putAll(buildModels(String.format("%sEntityResponse", plugin.getEndpointName()),
typeFactory.constructParametricType(EntityResponse.class, pluginVersion.getApiClass())));
if(plugin.isMethodAllowed(HttpMethod.DELETE))
models.putAll(buildModels(String.format("%sDeleteResponse", plugin.getEndpointName()),
typeFactory.constructType(DeleteResponse.class)));