public StringBuffer markdown ( Schema sinput , Schema soutput ) { MarkdownBuilder builder = new MarkdownBuilder ( ) ; builder . comment ( "Preview with http://jbt.github.io/markdown-editor" ) ; builder . heading1 ( _http_method , _url ) ; builder . hline ( ) ; builder . paragraph ( _summary ) ; // parameters and output tables builder . heading1 ( "Input schema: " ) ; builder . append ( sinput . markdown ( true , false ) ) ; builder . heading1 ( "Output schema: " ) ; builder . append ( soutput . markdown ( false , true ) ) ; return builder . stringBuffer ( ) ; }
Generate Markdown documentation for this Route .