use Try::Tiny;
+=head1 NAME
+
+Koha::REST::V1::Library - Koha REST API for handling libraries (V1)
+
+=head1 API
+
+=head2 Methods
+
+=cut
+
+=head3 list
+
+Controller function that handles listing Koha::Library objects
+
+=cut
+
sub list {
my $c = shift->openapi->valid_input or return;
};
}
+=head3 get
+
+Controller function that handles retrieving a single Koha::Library
+
+=cut
+
sub get {
my $c = shift->openapi->valid_input or return;
return $c->render( status => 200, openapi => $library );
}
+=head3 add
+
+Controller function that handles adding a new Koha::Library object
+
+=cut
+
sub add {
my $c = shift->openapi->valid_input or return;
};
}
+=head3 update
+
+Controller function that handles updating a Koha::Library object
+
+=cut
+
sub update {
my $c = shift->openapi->valid_input or return;
};
}
+=head3 delete
+
+Controller function that handles deleting a Koha::Library object
+
+=cut
+
sub delete {
my $c = shift->openapi->valid_input or return;