Technical specification documents

  
Hi,
How to write technical speicification documents for outsystems developement?
Technical specification documents include, class diagram, sequence diagram, flow diagram, design, api syntax declarations, descriptions. How these all can be illustrated for this type of development?

Your help is much appreciated.

Thanks,
Thiru