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

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.

主站蜘蛛池模板: 仁寿县| 榆树市| 化州市| 隆德县| 营山县| 常山县| 琼结县| 平湖市| 英吉沙县| 拜城县| 婺源县| 泸定县| 句容市| 武鸣县| 玛曲县| 陈巴尔虎旗| 尼木县| 盘山县| 丽江市| 谢通门县| 乌鲁木齐县| 沙河市| 高唐县| 横山县| 亚东县| 祥云县| 沈丘县| 泗水县| 攀枝花市| 南木林县| 莱阳市| 卢氏县| 禹城市| 平南县| 深水埗区| 永川市| 开封市| 乌拉特后旗| 洛川县| 龙岩市| 工布江达县|