class OasRails::YARD::OasRailsFactory

def extract_name_code_and_schema(text)

Returns:
  • (Array) - An array containing the name, code, and schema.

Parameters:
  • text (String) -- The text to parse.
def extract_name_code_and_schema(text)
  name, code = extract_text_and_parentheses_content(text)
  _, type, = extract_description_type_and_content(text)
  schema = type_text_to_schema(type)[1]
  [name, code, schema]
end