JavaInflector.api.mustache Maven / Gradle / Ivy
package {{invokerPackage}};
import io.swagger.inflector.models.RequestContext;
import io.swagger.inflector.models.ResponseContext;
import {{javaxPackage}}.ws.rs.core.Response.Status;
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
import java.io.File;
import java.util.List;
import {{modelPackage}}.*;
{{#imports}}import {{import}};
{{/imports}}
{{>generatedAnnotation}}
{{#operations}}
public class {{classname}} {
/**
* Uncomment and implement as you see fit. These operations will map
* Directly to operation calls from the routing logic. Because the inflector
* Code allows you to implement logic incrementally, they are disabled.
**/
{{#operation}}
/*
public ResponseContext {{operationId}}(RequestContext request {{#allParams}}, {{>queryParams}}{{>pathParams}}{{>headerParams}}{{>bodyParams}}{{>formParams}}{{/allParams}}) {
return new ResponseContext().status(Status.INTERNAL_SERVER_ERROR).entity( "Not implemented" );
}
*/
{{/operation}}
}
{{/operations}}