Skip to content

codegen

YYBartT edited this page Jan 18, 2026 · 1 revision

Codegen

Functions

This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.



Back To Top

elements_codegen_generate_code

Elements Operation: generateCode

This function generates API code for use on the client. Will generate Elements core if no application is specified in the request body.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback Function.


Syntax:

elements_codegen_generate_code(_body=undefined, _content_type=undefined, _callback=undefined)
Argument Type Description
_body ElementsCodegenRequest The body to be included in the HTTP request.
_content_type String The type of the body (this will be used by the mapper to convert the body argument to the correct type).
_callback Function The function - with signature (status, data, request) - that will be executed upon request completion.



Returns:

N/A


Triggers:

Callback Function

Key Type Description
_status Real
_data Undefined
_request ElementsRequest


Clone this wiki locally