-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run 'bin/jaxrs-resteasy-eap-petstore-server.sh'
Update 'samples/server/petstore/jaxrs-resteasy/'
- Loading branch information
Showing
12 changed files
with
398 additions
and
145 deletions.
There are no files selected for viewing
264 changes: 264 additions & 0 deletions
264
samples/server/petstore/jaxrs-resteasy/eap/src/gen/java/org/openapitools/api/DefaultApi.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,9 @@ | |
|
||
public class Category { | ||
|
||
|
||
private Long id = null; | ||
|
||
private String name = null; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,9 @@ | |
|
||
public class Tag { | ||
|
||
|
||
private Long id = null; | ||
|
||
private String name = null; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
105 changes: 105 additions & 0 deletions
105
...ore/jaxrs-resteasy/eap/src/main/java/org/openapitools/api/impl/DefaultApiServiceImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
package org.openapitools.api.impl; | ||
|
||
import org.openapitools.api.*; | ||
import org.openapitools.model.*; | ||
import org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput; | ||
|
||
|
||
import java.io.File; | ||
import java.util.List; | ||
import java.util.Map; | ||
import org.openapitools.model.ModelApiResponse; | ||
import org.openapitools.model.Order; | ||
import org.openapitools.model.Pet; | ||
import org.openapitools.model.User; | ||
|
||
import java.util.List; | ||
|
||
import java.io.InputStream; | ||
|
||
import javax.ws.rs.core.Response; | ||
import javax.ws.rs.core.SecurityContext; | ||
|
||
|
||
public class DefaultApiServiceImpl implements DefaultApi { | ||
public Response addPet(Pet pet,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response createUser(User user,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response createUsersWithArrayInput(List<User> user,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response createUsersWithListInput(List<User> user,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response deleteOrder(String orderId,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response deletePet(Long petId,String apiKey,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response deleteUser(String username,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response findPetsByStatus(List<String> status,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response findPetsByTags(List<String> tags,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response getInventory(SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response getOrderById(Long orderId,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response getPetById(Long petId,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response getUserByName(String username,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response loginUser(String username,String password,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response logoutUser(SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response placeOrder(Order order,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response updatePet(Pet pet,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response updatePetWithForm(Long petId,String name,String status,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response updateUser(String username,User user,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
public Response uploadFile(MultipartFormDataInput input,Long petId,SecurityContext securityContext) { | ||
// do some magic! | ||
return Response.ok().build(); | ||
} | ||
} |
53 changes: 0 additions & 53 deletions
53
...etstore/jaxrs-resteasy/eap/src/main/java/org/openapitools/api/impl/PetApiServiceImpl.java
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
...store/jaxrs-resteasy/eap/src/main/java/org/openapitools/api/impl/StoreApiServiceImpl.java
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
...tstore/jaxrs-resteasy/eap/src/main/java/org/openapitools/api/impl/UserApiServiceImpl.java
This file was deleted.
Oops, something went wrong.