View Source OpenAPI (OpenAPI Generator v0.0.5)

Code generator for OpenAPI REST API descriptions

This module provides a single function, run/2, that accepts the name of an OpenAPI description file and configuration. It does the work of reading the description, processing schemas and operations, and writing out generated files.

For a list of valid options to pass as configuration, see OpenAPI.Config.

Link to this section Summary

Functions

Read the OpenAPI description at filename and generate code according to config.

Link to this section Functions

@spec run(
  String.t(),
  keyword()
) :: term()

Read the OpenAPI description at filename and generate code according to config.