forked from loafle/openapi-generator-original
Add nullable support to JAXRS-CXF parameters (#1679)
* add nullable support to jaxrs cxf parameters * remove end of file line break * fix default value for list * update samples
This commit is contained in:
parent
f188fa08e5
commit
b6e80e86b2
@ -1 +1 @@
|
||||
{{#required}} @NotNull{{/required}}{{>beanValidationCore}}
|
||||
{{#isNullable}} @Nullable{{/isNullable}}{{^isNullable}}{{#required}} @NotNull {{/required}}{{/isNullable}}{{>beanValidationCore}}
|
@ -1 +1 @@
|
||||
{{#required}} @NotNull{{/required}}{{>beanValidationCore}}
|
||||
{{#isNullable}} @Nullable {{/isNullable}}{{^isNullable}}{{#required}} @NotNull {{/required}}{{/isNullable}}{{>beanValidationCore}}
|
@ -1 +1 @@
|
||||
{{#required}} @NotNull{{/required}}{{>beanValidationCore}}
|
||||
{{#isNullable}} @Nullable {{/isNullable}}{{^isNullable}}{{#required}} @NotNull {{/required}}{{/isNullable}}{{>beanValidationCore}}
|
@ -1 +1 @@
|
||||
{{#required}} @NotNull{{/required}}{{>beanValidationCore}}
|
||||
{{#isNullable}} @Nullable {{/isNullable}}{{^isNullable}}{{#required}} @NotNull {{/required}}{{/isNullable}}{{>beanValidationCore}}
|
@ -1 +1 @@
|
||||
{{#isQueryParam}}@QueryParam("{{baseName}}"){{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}}{{#defaultValue}}@DefaultValue({{^isString}}"{{/isString}}{{#isString}}{{#isEnum}}"{{/isEnum}}{{/isString}}{{{defaultValue}}}{{^isString}}"{{/isString}}{{#isString}}{{#isEnum}}"{{/isEnum}}{{/isString}}) {{/defaultValue}}{{{dataType}}} {{paramName}}{{/isQueryParam}}
|
||||
{{#isQueryParam}}@QueryParam("{{baseName}}"){{#useBeanValidation}}{{>beanValidationQueryParams}}{{/useBeanValidation}} {{^isContainer}}{{#defaultValue}}@DefaultValue({{^isString}}"{{/isString}}{{#isString}}{{#isEnum}}"{{/isEnum}}{{/isString}}{{{defaultValue}}}{{^isString}}"{{/isString}}{{#isString}}{{#isEnum}}"{{/isEnum}}{{/isString}}) {{/defaultValue}}{{/isContainer}}{{{dataType}}} {{paramName}}{{/isQueryParam}}
|
@ -1 +1 @@
|
||||
3.3.0-SNAPSHOT
|
||||
4.0.0-SNAPSHOT
|
@ -50,7 +50,7 @@ public interface PetApi {
|
||||
@ApiOperation(value = "Deletes a pet", tags={ })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 400, message = "Invalid pet value") })
|
||||
public void deletePet(@PathParam("petId") Long petId, @HeaderParam("api_key") String apiKey);
|
||||
public void deletePet(@PathParam("petId") Long petId, @HeaderParam("api_key") String apiKey);
|
||||
|
||||
/**
|
||||
* Finds Pets by status
|
||||
@ -65,7 +65,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid status value") })
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status")List<String> status);
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status") List<String> status);
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
@ -80,7 +80,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid tag value") })
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags")List<String> tags);
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags") List<String> tags);
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
|
@ -101,7 +101,7 @@ public interface UserApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = String.class),
|
||||
@ApiResponse(code = 400, message = "Invalid username/password supplied") })
|
||||
public String loginUser(@QueryParam("username")String username, @QueryParam("password")String password);
|
||||
public String loginUser(@QueryParam("username") String username, @QueryParam("password") String password);
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
|
@ -19,10 +19,10 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class Category {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Long id = null;
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String name = null;
|
||||
private String name;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
|
@ -19,13 +19,13 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class ModelApiResponse {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Integer code = null;
|
||||
private Integer code;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String type = null;
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String message = null;
|
||||
private String message;
|
||||
/**
|
||||
* Get code
|
||||
* @return code
|
||||
|
@ -20,16 +20,16 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class Order {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Long id = null;
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Long petId = null;
|
||||
private Long petId;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Integer quantity = null;
|
||||
private Integer quantity;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Date shipDate = null;
|
||||
private Date shipDate;
|
||||
|
||||
@XmlType(name="StatusEnum")
|
||||
@XmlEnum(String.class)
|
||||
@ -67,7 +67,7 @@ public enum StatusEnum {
|
||||
/**
|
||||
* Order Status
|
||||
**/
|
||||
private StatusEnum status = null;
|
||||
private StatusEnum status;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Boolean complete = false;
|
||||
|
@ -23,13 +23,13 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class Pet {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Long id = null;
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Category category = null;
|
||||
|
||||
@ApiModelProperty(example = "doggie", required = true, value = "")
|
||||
private String name = null;
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
private List<String> photoUrls = new ArrayList<String>();
|
||||
@ -73,7 +73,7 @@ public enum StatusEnum {
|
||||
/**
|
||||
* pet status in the store
|
||||
**/
|
||||
private StatusEnum status = null;
|
||||
private StatusEnum status;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
|
@ -19,10 +19,10 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class Tag {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Long id = null;
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String name = null;
|
||||
private String name;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
|
@ -19,31 +19,31 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
public class User {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private Long id = null;
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String username = null;
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String firstName = null;
|
||||
private String firstName;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String lastName = null;
|
||||
private String lastName;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String email = null;
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String password = null;
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
private String phone = null;
|
||||
private String phone;
|
||||
|
||||
@ApiModelProperty(value = "User Status")
|
||||
/**
|
||||
* User Status
|
||||
**/
|
||||
private Integer userStatus = null;
|
||||
private Integer userStatus;
|
||||
/**
|
||||
* Get id
|
||||
* @return id
|
||||
|
@ -67,7 +67,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid status value") })
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status") @NotNull @DefaultValue("new ArrayList<String>()") List<String> status);
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status") @NotNull List<String> status);
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
@ -82,7 +82,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid tag value") })
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags") @NotNull @DefaultValue("new ArrayList<String>()") List<String> tags);
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags") @NotNull List<String> tags);
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
|
@ -104,7 +104,7 @@ public interface UserApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = String.class),
|
||||
@ApiResponse(code = 400, message = "Invalid username/password supplied") })
|
||||
public String loginUser(@QueryParam("username") @NotNull String username, @QueryParam("password") @NotNull String password);
|
||||
public String loginUser(@QueryParam("username") @NotNull String username, @QueryParam("password") @NotNull String password);
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
|
@ -64,7 +64,7 @@ public class PetApi {
|
||||
}, tags={ "pet", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 400, message = "Invalid pet value", response = Void.class) })
|
||||
public Response deletePet(@ApiParam(value = "Pet id to delete",required=true) @PathParam("petId") Long petId, @ApiParam(value = "" )@HeaderParam("api_key") String apiKey) {
|
||||
public Response deletePet(@ApiParam(value = "Pet id to delete",required=true) @PathParam("petId") Long petId, @ApiParam(value = "" )@HeaderParam("api_key") String apiKey) {
|
||||
return delegate.deletePet(petId, apiKey, securityContext);
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid status value") })
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status") @NotNull @DefaultValue("new ArrayList<String>()") List<String> status);
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status") @NotNull List<String> status);
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
@ -82,7 +82,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid tag value") })
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags") @NotNull @DefaultValue("new ArrayList<String>()") List<String> tags);
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags") @NotNull List<String> tags);
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
|
@ -104,7 +104,7 @@ public interface UserApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = String.class),
|
||||
@ApiResponse(code = 400, message = "Invalid username/password supplied") })
|
||||
public String loginUser(@QueryParam("username") @NotNull String username, @QueryParam("password") @NotNull String password);
|
||||
public String loginUser(@QueryParam("username") @NotNull String username, @QueryParam("password") @NotNull String password);
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
|
@ -83,7 +83,7 @@ public interface FakeApi {
|
||||
@ApiOperation(value = "", tags={ "fake", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "Success") })
|
||||
public void testBodyWithQueryParams(@QueryParam("query") @NotNull String query, @Valid User user);
|
||||
public void testBodyWithQueryParams(@QueryParam("query") @NotNull String query, @Valid User user);
|
||||
|
||||
/**
|
||||
* To test \"client\" model
|
||||
@ -128,7 +128,7 @@ public interface FakeApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 400, message = "Invalid request"),
|
||||
@ApiResponse(code = 404, message = "Not found") })
|
||||
public void testEnumParameters(@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray, @HeaderParam("enum_header_string") String enumHeaderString, @QueryParam("enum_query_string_array") @DefaultValue("new ArrayList<String>()") List<String> enumQueryStringArray, @QueryParam("enum_query_string") @DefaultValue("-efg") String enumQueryString, @QueryParam("enum_query_integer") Integer enumQueryInteger, @QueryParam("enum_query_double") Double enumQueryDouble, @Multipart(value = "enum_form_string_array", required = false) List<String> enumFormStringArray, @Multipart(value = "enum_form_string", required = false) String enumFormString);
|
||||
public void testEnumParameters(@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray, @HeaderParam("enum_header_string") String enumHeaderString, @QueryParam("enum_query_string_array") List<String> enumQueryStringArray, @QueryParam("enum_query_string") @DefaultValue("-efg") String enumQueryString, @QueryParam("enum_query_integer") Integer enumQueryInteger, @QueryParam("enum_query_double") Double enumQueryDouble, @Multipart(value = "enum_form_string_array", required = false) List<String> enumFormStringArray, @Multipart(value = "enum_form_string", required = false) String enumFormString);
|
||||
|
||||
/**
|
||||
* Fake endpoint to test group parameters (optional)
|
||||
@ -141,7 +141,7 @@ public interface FakeApi {
|
||||
@ApiOperation(value = "Fake endpoint to test group parameters (optional)", tags={ "fake", })
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 400, message = "Someting wrong") })
|
||||
public void testGroupParameters(@QueryParam("required_string_group") @NotNull Integer requiredStringGroup, @HeaderParam("required_boolean_group") @NotNull Boolean requiredBooleanGroup, @QueryParam("required_int64_group") @NotNull Long requiredInt64Group, @QueryParam("string_group") Integer stringGroup, @HeaderParam("boolean_group") Boolean booleanGroup, @QueryParam("int64_group") Long int64Group);
|
||||
public void testGroupParameters(@QueryParam("required_string_group") @NotNull Integer requiredStringGroup, @HeaderParam("required_boolean_group") @NotNull Boolean requiredBooleanGroup, @QueryParam("required_int64_group") @NotNull Long requiredInt64Group, @QueryParam("string_group") Integer stringGroup, @HeaderParam("boolean_group") Boolean booleanGroup, @QueryParam("int64_group") Long int64Group);
|
||||
|
||||
/**
|
||||
* test inline additionalProperties
|
||||
|
@ -67,7 +67,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid status value") })
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status") @NotNull @DefaultValue("new ArrayList<String>()") List<String> status);
|
||||
public List<Pet> findPetsByStatus(@QueryParam("status") @NotNull List<String> status);
|
||||
|
||||
/**
|
||||
* Finds Pets by tags
|
||||
@ -82,7 +82,7 @@ public interface PetApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@ApiResponse(code = 400, message = "Invalid tag value") })
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags") @NotNull @DefaultValue("new ArrayList<String>()") List<String> tags);
|
||||
public List<Pet> findPetsByTags(@QueryParam("tags") @NotNull List<String> tags);
|
||||
|
||||
/**
|
||||
* Find pet by ID
|
||||
|
@ -104,7 +104,7 @@ public interface UserApi {
|
||||
@ApiResponses(value = {
|
||||
@ApiResponse(code = 200, message = "successful operation", response = String.class),
|
||||
@ApiResponse(code = 400, message = "Invalid username/password supplied") })
|
||||
public String loginUser(@QueryParam("username") @NotNull String username, @QueryParam("password") @NotNull String password);
|
||||
public String loginUser(@QueryParam("username") @NotNull String username, @QueryParam("password") @NotNull String password);
|
||||
|
||||
/**
|
||||
* Logs out current logged in user session
|
||||
|
@ -34,8 +34,8 @@ public abstract class FakeApiService {
|
||||
public abstract Response testBodyWithQueryParams( @NotNull String query,User user,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testClientModel(Client client,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEndpointParameters(BigDecimal number,Double _double,String patternWithoutDelimiter,byte[] _byte,Integer integer,Integer int32,Long int64,Float _float,String string,InputStream binaryInputStream, FormDataContentDisposition binaryDetail,LocalDate date,OffsetDateTime dateTime,String password,String paramCallback,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters(List<String> enumHeaderStringArray,String enumHeaderString,List<String> enumQueryStringArray,String enumQueryString,Integer enumQueryInteger,Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group,Integer stringGroup,Boolean booleanGroup,Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testInlineAdditionalProperties(Map<String, String> requestBody,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testJsonFormData(String param,String param2,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response uploadFileWithRequiredFile(Long petId,InputStream requiredFileInputStream, FormDataContentDisposition requiredFileDetail,String additionalMetadata,SecurityContext securityContext) throws NotFoundException;
|
||||
|
@ -20,7 +20,7 @@ import javax.validation.constraints.*;
|
||||
|
||||
public abstract class PetApiService {
|
||||
public abstract Response addPet(Pet pet,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId, String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId,String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByStatus( @NotNull List<String> status,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByTags( @NotNull List<String> tags,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response getPetById(Long petId,SecurityContext securityContext) throws NotFoundException;
|
||||
|
@ -67,12 +67,12 @@ public class FakeApiServiceImpl extends FakeApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ public class PetApiServiceImpl extends PetApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
@ -33,8 +33,8 @@ public abstract class FakeApiService {
|
||||
public abstract Response testBodyWithQueryParams( @NotNull String query,User user,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testClientModel(Client client,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEndpointParameters(BigDecimal number,Double _double,String patternWithoutDelimiter,byte[] _byte,Integer integer,Integer int32,Long int64,Float _float,String string,InputStream binaryInputStream, FormDataContentDisposition binaryDetail,Date date,Date dateTime,String password,String paramCallback,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters(List<String> enumHeaderStringArray,String enumHeaderString,List<String> enumQueryStringArray,String enumQueryString,Integer enumQueryInteger,Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group,Integer stringGroup,Boolean booleanGroup,Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testInlineAdditionalProperties(Map<String, String> requestBody,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testJsonFormData(String param,String param2,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response uploadFileWithRequiredFile(Long petId,InputStream requiredFileInputStream, FormDataContentDisposition requiredFileDetail,String additionalMetadata,SecurityContext securityContext) throws NotFoundException;
|
||||
|
@ -20,7 +20,7 @@ import javax.validation.constraints.*;
|
||||
|
||||
public abstract class PetApiService {
|
||||
public abstract Response addPet(Pet pet,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId, String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId,String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByStatus( @NotNull List<String> status,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByTags( @NotNull List<String> tags,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response getPetById(Long petId,SecurityContext securityContext) throws NotFoundException;
|
||||
|
@ -66,12 +66,12 @@ public class FakeApiServiceImpl extends FakeApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ public class PetApiServiceImpl extends PetApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
@ -43,9 +43,9 @@ public abstract class FakeApiService {
|
||||
throws NotFoundException;
|
||||
public abstract Response testEndpointParameters(BigDecimal number,Double _double,String patternWithoutDelimiter,byte[] _byte,Integer integer,Integer int32,Long int64,Float _float,String string,InputStream binaryInputStream, FormDataContentDisposition binaryDetail,Date date,Date dateTime,String password,String paramCallback,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext)
|
||||
public abstract Response testEnumParameters(List<String> enumHeaderStringArray,String enumHeaderString,List<String> enumQueryStringArray,String enumQueryString,Integer enumQueryInteger,Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group,SecurityContext securityContext)
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group,Integer stringGroup,Boolean booleanGroup,Long int64Group,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response testInlineAdditionalProperties(Map<String, String> requestBody,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
|
@ -24,7 +24,7 @@ import javax.validation.constraints.*;
|
||||
public abstract class PetApiService {
|
||||
public abstract Response addPet(Pet pet,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId, String apiKey,SecurityContext securityContext)
|
||||
public abstract Response deletePet(Long petId,String apiKey,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response findPetsByStatus( @NotNull List<String> status,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
|
@ -76,13 +76,13 @@ public class FakeApiServiceImpl extends FakeApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext)
|
||||
public Response testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext)
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
|
@ -29,7 +29,7 @@ public class PetApiServiceImpl extends PetApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext)
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
|
@ -44,9 +44,9 @@ public abstract class FakeApiService {
|
||||
throws NotFoundException;
|
||||
public abstract Response testEndpointParameters(BigDecimal number,Double _double,String patternWithoutDelimiter,byte[] _byte,Integer integer,Integer int32,Long int64,Float _float,String string,InputStream binaryInputStream, FormDataContentDisposition binaryDetail,Date date,Date dateTime,String password,String paramCallback,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext)
|
||||
public abstract Response testEnumParameters(List<String> enumHeaderStringArray,String enumHeaderString,List<String> enumQueryStringArray,String enumQueryString,Integer enumQueryInteger,Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group,SecurityContext securityContext)
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group,Integer stringGroup,Boolean booleanGroup,Long int64Group,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response testInlineAdditionalProperties(Map<String, String> requestBody,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
|
@ -24,7 +24,7 @@ import javax.validation.constraints.*;
|
||||
public abstract class PetApiService {
|
||||
public abstract Response addPet(Pet pet,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId, String apiKey,SecurityContext securityContext)
|
||||
public abstract Response deletePet(Long petId,String apiKey,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
public abstract Response findPetsByStatus( @NotNull List<String> status,SecurityContext securityContext)
|
||||
throws NotFoundException;
|
||||
|
@ -77,13 +77,13 @@ public class FakeApiServiceImpl extends FakeApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext)
|
||||
public Response testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext)
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
|
@ -29,7 +29,7 @@ public class PetApiServiceImpl extends PetApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext)
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
|
@ -32,8 +32,8 @@ public abstract class FakeApiService {
|
||||
public abstract Response testBodyWithQueryParams( @NotNull String query,User user,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testClientModel(Client client,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEndpointParameters(BigDecimal number,Double _double,String patternWithoutDelimiter,byte[] _byte,Integer integer,Integer int32,Long int64,Float _float,String string,InputStream binaryInputStream, FormDataContentDisposition binaryDetail,Date date,Date dateTime,String password,String paramCallback,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters(List<String> enumHeaderStringArray,String enumHeaderString,List<String> enumQueryStringArray,String enumQueryString,Integer enumQueryInteger,Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group,Integer stringGroup,Boolean booleanGroup,Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testInlineAdditionalProperties(Map<String, String> requestBody,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testJsonFormData(String param,String param2,SecurityContext securityContext) throws NotFoundException;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ import javax.validation.constraints.*;
|
||||
|
||||
public abstract class PetApiService {
|
||||
public abstract Response addPet(Pet pet,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId, String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId,String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByStatus( @NotNull List<String> status,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByTags( @NotNull List<String> tags,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response getPetById(Long petId,SecurityContext securityContext) throws NotFoundException;
|
||||
|
@ -65,12 +65,12 @@ public class FakeApiServiceImpl extends FakeApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ public class PetApiServiceImpl extends PetApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
@ -33,8 +33,8 @@ public abstract class FakeApiService {
|
||||
public abstract Response testBodyWithQueryParams( @NotNull String query,User user,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testClientModel(Client client,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEndpointParameters(BigDecimal number,Double _double,String patternWithoutDelimiter,byte[] _byte,Integer integer,Integer int32,Long int64,Float _float,String string,InputStream binaryInputStream, FormDataContentDisposition binaryDetail,Date date,Date dateTime,String password,String paramCallback,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testEnumParameters(List<String> enumHeaderStringArray,String enumHeaderString,List<String> enumQueryStringArray,String enumQueryString,Integer enumQueryInteger,Double enumQueryDouble,List<String> enumFormStringArray,String enumFormString,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group,Integer stringGroup,Boolean booleanGroup,Long int64Group,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testInlineAdditionalProperties(Map<String, String> requestBody,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response testJsonFormData(String param,String param2,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response uploadFileWithRequiredFile(Long petId,InputStream requiredFileInputStream, FormDataContentDisposition requiredFileDetail,String additionalMetadata,SecurityContext securityContext) throws NotFoundException;
|
||||
|
@ -20,7 +20,7 @@ import javax.validation.constraints.*;
|
||||
|
||||
public abstract class PetApiService {
|
||||
public abstract Response addPet(Pet pet,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId, String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response deletePet(Long petId,String apiKey,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByStatus( @NotNull List<String> status,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response findPetsByTags( @NotNull List<String> tags,SecurityContext securityContext) throws NotFoundException;
|
||||
public abstract Response getPetById(Long petId,SecurityContext securityContext) throws NotFoundException;
|
||||
|
@ -66,12 +66,12 @@ public class FakeApiServiceImpl extends FakeApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testEnumParameters( List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<String> enumFormStringArray, String enumFormString, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response testGroupParameters( @NotNull Integer requiredStringGroup, @NotNull Boolean requiredBooleanGroup, @NotNull Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ public class PetApiServiceImpl extends PetApiService {
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
@Override
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
public Response deletePet(Long petId, String apiKey, SecurityContext securityContext) throws NotFoundException {
|
||||
// do some magic!
|
||||
return Response.ok().entity(new ApiResponseMessage(ApiResponseMessage.OK, "magic!")).build();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user