All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.ResolvedApiFunctionSpecification.hbs Maven / Gradle / Ivy

There is a newer version: 0.15.3
Show newest version
package {{packageName}};

import io.polyapi.client.api.model.function.PolyApiFunction;
import io.polyapi.client.api.model.PolyEntity;
import io.polyapi.client.api.model.PolyMetadata;
import io.polyapi.commons.api.model.PolyGeneratedClass;
{{~#each imports}}
import {{this}};
{{~/each}}

/**
 * Poly API function with ID {{id}}.
 */
@PolyEntity("{{id}}")
@PolyMetadata(paramNames = { {{{paramNames}}} },
    paramTypes = { {{{paramTypes}}} })
@PolyGeneratedClass
public interface {{className}} extends PolyApiFunction {

    {{{returnType}}} {{{methodSignature}}};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy