Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
use Try::Tiny;
+=head1 API
+
+=head2 Class Methods
+
+=head3 list
+
+=cut
+
sub list {
my $c = shift->openapi->valid_input or return;
}
+=head3 get
+
+=cut
+
sub get {
my $c = shift->openapi->valid_input or return;
return $c->render( status => 200, openapi => _to_api($city->TO_JSON) );
}
+=head3 add
+
+=cut
+
sub add {
my $c = shift->openapi->valid_input or return;
};
}
+=head3 update
+
+=cut
+
sub update {
my $c = shift->openapi->valid_input or return;
};
}
+=head3 delete
+
+=cut
+
sub delete {
my $c = shift->openapi->valid_input or return;