OpenApiCodeGen.Components (openapi_codegen v0.1.0)

Generates components AST from OpenAPI spec using the schemas key.

Summary

Functions

Generates components AST from OpenAPI spec using the schemas key.

Functions

Link to this function

generate(client_module_name, map)

@spec generate(String.t(), map()) :: [{String.t(), Macro.t()}]

Generates components AST from OpenAPI spec using the schemas key.

Returns the name of the component and the AST for said component.