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

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.

主站蜘蛛池模板: 孟连| 保德县| 昌邑市| 农安县| 澄江县| 泌阳县| 新竹市| 大方县| 海门市| 美姑县| 金塔县| 临漳县| 宁夏| 长武县| 明水县| 上蔡县| 阜阳市| 卢湾区| 朝阳县| 明水县| 阿拉尔市| 大安市| 鹤峰县| 鄱阳县| 商城县| 彩票| 凤庆县| 安吉县| 湾仔区| 峨眉山市| 富平县| 莱阳市| 阿拉尔市| 多伦县| 彩票| 敦煌市| 瓦房店市| 定边县| 大名县| 东阳市| 金华市|