package {{package}}.impl;

import {{package}}.*;
import {{modelPackage}}.*;

import org.apache.cxf.jaxrs.ext.multipart.Attachment;

{{#imports}}import {{import}};
{{/imports}}

import java.util.List;

import java.io.InputStream;

{{#useBeanValidation}}
import {{javaxPackage}}.validation.constraints.*;
import {{javaxPackage}}.validation.Valid;
{{/useBeanValidation}}

import {{javaxPackage}}.enterprise.context.RequestScoped;
import {{javaxPackage}}.ws.rs.core.Response;
import {{javaxPackage}}.ws.rs.core.SecurityContext;

@RequestScoped
{{>generatedAnnotation}}
{{#operations}}
public class {{classname}}ServiceImpl implements {{classname}}Service {
  {{#operation}}
      @Override
      public Response {{nickname}}({{#allParams}}{{>serviceQueryParams}}{{>servicePathParams}}{{>serviceHeaderParams}}{{>serviceBodyParams}}{{>serviceFormParams}}, {{/allParams}}SecurityContext securityContext) {
      // do some magic!
      return Response.ok().entity("magic!").build();
  }
  {{/operation}}
}
{{/operations}}
