The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 2.10 - 2019-01-25

  • Add "plugins" as a documented feature for register()
  • Add Mojolicious::Plugin::OpenAPI::SpecRenderer
  • Add the possibility to turn off automatic rendering of specification using OPTIONS and from /:basePath route
  • Add EXPERIMENTAL "openapi_routes_added" hook
  • Add support for Preflight CORS requests #99
  • Fix Simple CORS requests with "GET" and no Content-Type #99
  • Fix writing a list of headers back after validated
  • Marked $c->openapi->simple_cors as DEPRECATED

Documentation

Mojolicious <3 Open API (Swagger)

Modules

JSON::Validator request/response adapter for Mojolicious
OpenAPI / Swagger plugin for Mojolicious
OpenAPI plugin for Cross-Origin Resource Sharing
OpenAPI plugin for securing your API
Render OpenAPI specification