aQute.openapi.example.petstore.provider.PetImpl Maven / Gradle / Ivy
package aQute.openapi.example.petstore.provider;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import org.osgi.service.component.annotations.Component;
import org.osgi.service.component.annotations.Reference;
import aQute.openapi.example.petstore.pet.GeneratedPet;
import aQute.openapi.example.petstore.pet.ProvideGeneratedPet;
import aQute.openapi.provider.OpenAPIBase;
@ProvideGeneratedPet
@Component(service = OpenAPIBase.class)
public class PetImpl extends GeneratedPet {
@Reference
PetStoreCentral central;
@Override
protected ApiResponse uploadFile(long petId, Optional additionalMetadata, Optional file)
throws Exception {
ApiResponse response = new ApiResponse();
return response;
}
@Override
protected ArrayList< ? extends Pet> findPetsByTags(List tags) throws Exception, BadRequestResponse {
// TODO Auto-generated method stub
return null;
}
@Override
protected void updatePet(Pet body) throws Exception, BadRequestResponse {
// TODO Auto-generated method stub
}
@Override
protected Pet getPetById(long petId) throws Exception, BadRequestResponse {
// TODO Auto-generated method stub
return null;
}
@Override
protected void deletePet(Optional api_key, long petId) throws Exception, BadRequestResponse {
// TODO Auto-generated method stub
}
@Override
protected void addPet(Pet body) throws Exception {
// TODO Auto-generated method stub
}
@Override
protected Iterable< ? extends Pet> findPetsByStatus(List status)
throws Exception, BadRequestResponse {
// TODO Auto-generated method stub
return null;
}
@Override
protected void updatePetWithForm(long petId, Optional name, Optional status) throws Exception {
// TODO Auto-generated method stub
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy