- SEE ALSO
- COPYRIGHT AND LICENSE
my $stash = WebService::BitbucketServer->new( base_url => 'https://stash.example.com/', username => 'bob', password => 'secret', ); my $api = $stash->[% method %];
[% END %] =head1 DESCRIPTION
This is a Bitbucket Server REST API for [% api %].
Original API documentation created by and copyright Atlassian.
$api = [% package %]->new(context => $webservice_bitbucketserver_obj);
Create a new API.
[% IF method %] Normally you would use
$webservice_bitbucketserver_obj->[% method %] instead.
[% END %]
WebService::BitbucketServer::WADL - Subroutines for parsing WADL and generating Bitbucket Server REST APIs
$api_spec = parse_wadl($wadl);
Parse a string as WADL to get an arrayref of endpoints.
my $code = generate_submap($wadl);
Generate a perl script that returns a mapping between endpoints and subroutine names.
my $code = generate_package($package_name, $wadl); my $code = generate_package($package_name, $wadl, \%options);
Generate the code (with optional documentation) for the endpoints specified in the WADL structure.
Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/WebService-BitbucketServer/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Charles McGarvey <email@example.com>
This software is copyright (c) 2018 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.