简体   繁体   中英

How to document a web service API?

I have a problem with documenting my web service API. It is written in Java, then I use java2wsdl go generate wsdl file, etc.

How do I create a documentation for this? I need some documentation that I could give to the user. Do I document my initial Java code?

How should it be done?

Your WSDL file have all details regarding the service. It clearly states input, output for your service. Along with this you can also provide details of your service in form of wiki/doc which explains the service, expected input, response and error codes etc.

If you need you can also generate JavaDoc for your project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM