{%{$self->args}};
my $api_tmpl_file = $self->_template_path('api.json.ep');
my $api_file = path($args->{api_dir}, 'api.json');
$args->{api_title} = ref($self->app) . ' OpenAPI';
$args->{
ile, $args);
# Prettify generated JSON. With this step we also make sure the generated
# JSON is syntactically correct.
my $decoded = JSON::PP::decode_json(path($api_file)->slurp());
$decode
d->{definitions} = {%{$decoded->{definitions}}, %$api_defs};
path($api_file)->spurt(JSON::PP->new->utf8->pretty->encode($decoded));
return;
}
sub generate_path_api ($self, $t, $object_api_def, $