class OasRails::OasRoute
def extract_docstring
def extract_docstring ::YARD::Docstring.parser.parse( controller_class.constantize.instance_method(method).comment.lines.map { |line| line.sub(/^#\s*/, '') }.join ).to_docstring end
def extract_docstring ::YARD::Docstring.parser.parse( controller_class.constantize.instance_method(method).comment.lines.map { |line| line.sub(/^#\s*/, '') }.join ).to_docstring end