NAME

Test::RestAPI::Endpoint - API endpoint

DESCRIPTION

This class describe API endpoint.

FUNCTIONS

convert_path_to_filename($path)

METHODS

new(%attribute)

%attribute

path

Mojolicious::Routes paths

for more examples see Mojolicious::Guides::Routing

default is '/' (root)

method

HTTP method

support are get|head|options|patch|post|put|any

default is get

render

same arguments as Mojolicious::Renderer render method

render_as_string

path_as_filename

LICENSE

Copyright (C) Avast Software.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Jan Seidl <seidl@avast.com>