public ModelApiResponse uploadFile(Long petId, String additionalMetadata, File file) throws RestClientException {
        return uploadFileWithHttpInfo(petId, additionalMetadata, file).getBody();
    }
@Test
    public void uploadFileTest() {
        Long petId = null;
        String additionalMetadata = null;
        File file = null;
        ModelApiResponse response = api.uploadFile(petId, additionalMetadata, file);

        // TODO: test validations
    }