forked from loafle/openapi-generator-original
* replace http with https. Replace http://central.maven.org with https://repo1.maven.org * replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0 * Force HTTPS for mavenCentral gradle DSL Co-authored-by: Sebastien Rosset <serosset@cisco.com>
OpenAPI Petstore
This is a sample server Petstore server. For this sample, you can use the api key special-key
to test the authorization filters.
This Scala Play Framework project was generated by the OpenAPI generator tool at 2020-01-04T23:10:22.106-05:00[America/New_York].
API
Pet
Name | Role |
---|---|
api.PetController |
Play Framework API controller |
api.PetApi |
Representing trait |
api.PetApiImpl |
Default implementation |
POST /v2/pet
- Add a new pet to the storeDELETE /v2/pet/:petId
- Deletes a petGET /v2/pet/findByStatus?status=[value]
- Finds Pets by statusGET /v2/pet/findByTags?tags=[value]
- Finds Pets by tagsGET /v2/pet/:petId
- Find pet by IDPUT /v2/pet
- Update an existing petPOST /v2/pet/:petId
- Updates a pet in the store with form dataPOST /v2/pet/:petId/uploadImage
- uploads an image
Store
Name | Role |
---|---|
api.StoreController |
Play Framework API controller |
api.StoreApi |
Representing trait |
api.StoreApiImpl |
Default implementation |
DELETE /v2/store/order/:orderId
- Delete purchase order by IDGET /v2/store/inventory
- Returns pet inventories by statusGET /v2/store/order/:orderId
- Find purchase order by IDPOST /v2/store/order
- Place an order for a pet
User
Name | Role |
---|---|
api.UserController |
Play Framework API controller |
api.UserApi |
Representing trait |
api.UserApiImpl |
Default implementation |
POST /v2/user
- Create userPOST /v2/user/createWithArray
- Creates list of users with given input arrayPOST /v2/user/createWithList
- Creates list of users with given input arrayDELETE /v2/user/:username
- Delete userGET /v2/user/:username
- Get user by user nameGET /v2/user/login?username=[value]&password=[value]
- Logs user into the systemGET /v2/user/logout
- Logs out current logged in user sessionPUT /v2/user/:username
- Updated user