Fix the fake endpoint example. Now all cases are handled by the java play framework! (#6850)

This commit is contained in:
Jean-François Côté
2017-11-02 05:54:34 -04:00
committed by wing328
parent e7594c42d0
commit 16373b9f70
34 changed files with 54 additions and 129 deletions

View File

@@ -15,13 +15,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
@Override
public void addPet(Pet body) throws Exception {
//Do your magic!!!
}
@Override
public void deletePet(Long petId, String apiKey) throws Exception {
//Do your magic!!!
}
@Override
@@ -45,13 +43,11 @@ public class PetApiControllerImp implements PetApiControllerImpInterface {
@Override
public void updatePet(Pet body) throws Exception {
//Do your magic!!!
}
@Override
public void updatePetWithForm(Long petId, String name, String status) throws Exception {
//Do your magic!!!
}
@Override

View File

@@ -14,7 +14,6 @@ public class StoreApiControllerImp implements StoreApiControllerImpInterface {
@Override
public void deleteOrder(String orderId) throws Exception {
//Do your magic!!!
}
@Override

View File

@@ -14,25 +14,21 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
@Override
public void createUser(User body) throws Exception {
//Do your magic!!!
}
@Override
public void createUsersWithArrayInput(List<User> body) throws Exception {
//Do your magic!!!
}
@Override
public void createUsersWithListInput(List<User> body) throws Exception {
//Do your magic!!!
}
@Override
public void deleteUser(String username) throws Exception {
//Do your magic!!!
}
@Override
@@ -50,13 +46,11 @@ public class UserApiControllerImp implements UserApiControllerImpInterface {
@Override
public void logoutUser() throws Exception {
//Do your magic!!!
}
@Override
public void updateUser(String username, User body) throws Exception {
//Do your magic!!!
}
}