QuenyaBuilder
v0.2.1
Pages
Modules
Mix Tasks
QuenyaBuilder.Util
(QuenyaBuilder v0.2.1)
View Source
General utility functions for code generator
Link to this section
Summary
Functions
choose_best_code_schema(schemas)
ensure_position(position)
gen_api_router_name(app)
gen_app_name(app)
gen_fake_handler_name(app, name)
gen_module_name(app, prefix, name, postfix \\ "")
gen_plug_name(app, name)
gen_request_validator_name(app, name)
gen_response_validator_name(app, name)
gen_router_name(app)
gen_router_preamble()
get_api_config(name)
get_localhost_uri(servers)
get_response_schemas(resp, position)
normalize_name(name)
normalize_uri(uri)
Link to this section
Functions
Link to this function
choose_best_code_schema(schemas)
View Source
Link to this function
ensure_position(position)
View Source
Link to this function
gen_api_router_name(app)
View Source
Link to this function
gen_app_name(app)
View Source
Link to this function
gen_fake_handler_name(app, name)
View Source
Link to this function
gen_module_name(app, prefix, name, postfix \\ "")
View Source
Link to this function
gen_plug_name(app, name)
View Source
Link to this function
gen_request_validator_name(app, name)
View Source
Link to this function
gen_response_validator_name(app, name)
View Source
Link to this function
gen_router_name(app)
View Source
Link to this function
gen_router_preamble()
View Source
Link to this function
get_api_config(name)
View Source
Link to this function
get_localhost_uri(servers)
View Source
Link to this function
get_response_schemas(resp, position)
View Source
Link to this function
normalize_name(name)
View Source
Link to this function
normalize_uri(uri)
View Source