package {{apiSpecPackage}};

{{>frag/imports}}
/**
 * The JAX-RS API client interface.
 * {{{md description}}}
 */
{{>generatedAnnotation}}
{{#if consumes}}
@{{javax}}.ws.rs.Consumes({ {{#each consumes}}"{{{.}}}"{{#unless @last}}, {{/unless}}{{/each}} })
{{/if}}
{{#if produces}}
@{{javax}}.ws.rs.Produces({ {{#each produces}}"{{{.}}}"{{#unless @last}}, {{/unless}}{{/each}} })
{{/if}}
public interface {{className name}}ApiSpec {

{{#each operations}}
	{{>frag/operationVars op=. jaxrs=true}}
	{{>frag/operationAnnotations groupPath=../path}}
	{{#if returnNativeType}}{{{returnNativeType}}}{{else}}void{{/if}} {{identifier name}}({{{_parameters}}});

{{/each}}
}
