Group
Extension

Matches 2

CodeGen-Protection ( O/OV/OVID/CodeGen-Protection-0.06.tar.gz, OVID, 2021; MetaCPAN )
CodeGen-Protection/lib/CodeGen/Protection/Tutorial.pod ( view source; MetaCPAN )
e writing code to autogenerate
L<OpenAPI|https://swagger.io/> server code. In OpenAPI, you have a JSON or
YAML document that specifies OpenAPI routes. Ignoring the rest of the
document, let's just loo
       '200':    # status code
              description: A JSON array of user names
              content:
                application/json:
                  schema: 
                    type: array
u, but sadly, it only writes client code
for Perl, not server code. So you want to read the above JSON document and
autogenerate code that looks like this:

    package My::OpenAPI::Controller::Users;
CodeGen-Protection ( O/OV/OVID/CodeGen-Protection-0.06.tar.gz, OVID, 2021; MetaCPAN )
CodeGen-Protection/lib/CodeGen/Protection/Role.pm ( view source; MetaCPAN )
 is I<not> suitable for protecting documents which
require context outside of the protected area. JSON and YAML would be good
examples of document types which are probably not suitable for this code.

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