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

@@ -14,13 +14,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
@@ -44,13 +42,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

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

View File

@@ -13,25 +13,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
@@ -49,13 +45,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!!!
}
}