Group
Extension

Matches 1

Mojolicious-Command-Author-generate-resources ( B/BE/BEROV/Mojolicious-Command-Author-generate-resources-0.22.tar.gz, BEROV, 2018; MetaCPAN )
Mojolicious-Command-Author-generate-resources/lib/Mojolicious/Command/Author/generate/resources.pm ( view source; MetaCPAN )
 {%{$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, $

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.