Swagger (Tools for visualizing restful APIs)

Source: Internet
Author: User

Swagger is a tool for visualizing restful webservice.

Official website: Http://swagger.io

Effect

As you can see, swagger clearly shows the method, address, and JSON format of the Web service. You can also view the results by making service calls directly through it.


How it works View part : Swagger-ui is a series of CSS\JS resources that show users the RESTful API information for an app through an HTML page. It obtains the necessary information by sending an AJAX request to the Swagger-core backend module.

Backstage Section : Swagger-core through @com. Wordnik.swagger.annotations.Api, @ Com.wordnik.swagger.annotations.ApiOperation such annotations, you can let swagger know your API information, in order to answer the Web page in JSON format AJAX request.

Other tools integrate Tomcat as Httpserver,jersey as a webservice frame.

Swagger (Tools for visualizing restful APIs)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.