OpenApiCodeGen.Client.Tesla (openapi_codegen v0.1.0)
Tesla client code generation.
Summary
Functions
Generates client AST from OpenAPI spec using
Functions
Link to this function
generate(name, map)
Generates client AST from OpenAPI spec using:
Params
servers
to generate Tesla middleware for the base URLoperationId
for the name of the functionspaths
keys to determine method for the functionrequestBody
to generate the request body argumentpath
to generate the request path with string interpolationparameters
to generate the URL parameters (if they are of typequery
)