class OasRails::YARD::OasRailsFactory

def extract_description_and_schema(text)

Returns:
  • (Array) - An array containing the description, class, schema, and required flag.

Parameters:
  • text (String) -- The text to parse.
def extract_description_and_schema(text)
  description, type, = extract_description_type_and_content(text)
  klass, schema, required = type_text_to_schema(type)
  [description, klass, schema, required]
end