View Source ExOAPI.Generator.Helpers (ex_oapi v0.1.5)
Link to this section Summary
Functions
Extracts a definition according to a ref path in a %ExOAPI.Parser.V3.Context.t()
.
Returns all valid http verbs.
Link to this section Functions
Link to this function
build_cast_embeds(schema_properties, schemas, base_title, required)
View Source
Link to this function
build_docs_for_schema(schema, schemas, title, initial_string \\ "@moduledoc \"\"\"", end_string \\ ~s(\n"""))
View Source
Link to this function
build_schema_props_docs(schema, schemas, title, field_name \\ nil)
View Source
Link to this function
build_types_from_content_schemas(schemas, ctx, base_title, outer_acc \\ {[], false, false})
View Source
Link to this function
build_validate_required(schema_properties, schemas, base_title, required)
View SourceExtracts a definition according to a ref path in a %ExOAPI.Parser.V3.Context.t()
.
Link to this function
fun_args(call, optional_args_type, first_arg \\ ["%ExOAPI.Client{} = client"])
View SourceReturns all valid http verbs.