API Reference oasis v0.2.1

Modules

Base on Plug.Builder, this module can be use-d into a module in order to build a plug pipeline

Error raised when use an invalid file path to generate corresponding modules

Error raised when use some invalid OpenAPI specification to generate corresponding modules

A plug to convert types and validate the HTTP request parameters by the schemas of the OpenAPI definition.

Base on Plug.Router to add a pre-parser to convert and validate the path param(s) in the final generated HTTP verb match functions.

Mix Tasks

Generates router and plug handlers for a proper OpenAPI Specification in YAML or JSON file.