java.lang.Object
org.eclipse.microprofile.openapi.apps.petstore.data.PetData

public class PetData extends Object
  • Constructor Details

    • PetData

      public PetData()
  • Method Details

    • getPetById

      public Pet getPetById(long petId)
    • deletePet

      public boolean deletePet(long petId)
    • findPetByStatus

      public List<Pet> findPetByStatus(String status)
    • findPetByTags

      public List<Pet> findPetByTags(String tags)
    • addPet

      public Pet addPet(Pet pet)
    • getInventoryByStatus

      public Map<String,Integer> getInventoryByStatus()