官术网_书友最值得收藏!

Creating the REST resources

Now, we have an application up and running in this section, and we will add some REST endpoints and model some initial classes for the CMS application, the REST endpoints will be useful for the AngularJS integration.

One of the required characteristics for the APIs is the documentation, and a popular tool to help us with these tasks is Swagger. The Spring Framework supports Swagger, and we can do it with a couple of annotations. The project's Spring Fox is the correct tool to do this, and we will take a look at the tool in this chapter.

Let's do this.

主站蜘蛛池模板: 锦屏县| 名山县| 虎林市| 井陉县| 乐亭县| 华亭县| 额尔古纳市| 天全县| 顺昌县| 历史| 陕西省| 荣昌县| 砚山县| 南康市| 芜湖市| 青冈县| 讷河市| 渭源县| 云龙县| 田阳县| 正阳县| 苗栗县| 鸡东县| 南江县| 英吉沙县| 黔江区| 双鸭山市| 石城县| 南乐县| 图们市| 大港区| 兰考县| 美姑县| 江华| 绩溪县| 宁阳县| 嘉荫县| 临清市| 郓城县| 普陀区| 铁力市|