Jean-François Côté ebf4efe3ea Fix issue #6867 : The apiPackage option was ignored (#7316)
* Fix issue #6867 : The apiPackage option is ignored in the template for Java Play Framework.

* use openjdk7 in travis to ensure it works with jdk7
2018-01-10 13:15:49 +08:00

36 lines
2.6 KiB
Plaintext

# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
GET /api com.puppies.store.apis.ApiDocController.api
#Functions for Pet API
POST /v2/pet com.puppies.store.apis.PetApiController.addPet()
DELETE /v2/pet/:petId com.puppies.store.apis.PetApiController.deletePet(petId: Long)
GET /v2/pet/findByStatus com.puppies.store.apis.PetApiController.findPetsByStatus()
GET /v2/pet/findByTags com.puppies.store.apis.PetApiController.findPetsByTags()
GET /v2/pet/:petId com.puppies.store.apis.PetApiController.getPetById(petId: Long)
PUT /v2/pet com.puppies.store.apis.PetApiController.updatePet()
POST /v2/pet/:petId com.puppies.store.apis.PetApiController.updatePetWithForm(petId: Long)
POST /v2/pet/:petId/uploadImage com.puppies.store.apis.PetApiController.uploadFile(petId: Long)
#Functions for Store API
DELETE /v2/store/order/:orderId com.puppies.store.apis.StoreApiController.deleteOrder(orderId: String)
GET /v2/store/inventory com.puppies.store.apis.StoreApiController.getInventory()
GET /v2/store/order/:orderId com.puppies.store.apis.StoreApiController.getOrderById(orderId: Long)
POST /v2/store/order com.puppies.store.apis.StoreApiController.placeOrder()
#Functions for User API
POST /v2/user com.puppies.store.apis.UserApiController.createUser()
POST /v2/user/createWithArray com.puppies.store.apis.UserApiController.createUsersWithArrayInput()
POST /v2/user/createWithList com.puppies.store.apis.UserApiController.createUsersWithListInput()
DELETE /v2/user/:username com.puppies.store.apis.UserApiController.deleteUser(username: String)
GET /v2/user/:username com.puppies.store.apis.UserApiController.getUserByName(username: String)
GET /v2/user/login com.puppies.store.apis.UserApiController.loginUser()
GET /v2/user/logout com.puppies.store.apis.UserApiController.logoutUser()
PUT /v2/user/:username com.puppies.store.apis.UserApiController.updateUser(username: String)
# Map static resources from the /public folder to the /assets URL path
GET /assets/*file controllers.Assets.at(file)
GET /versionedAssets/*file controllers.Assets.versioned(file)