- 追加された行はこの色です。
- 削除された行はこの色です。
-APIドキュメントの自動生成
*参考ページ [#rd5cf041]
http://qiita.com/nvtomo1029/items/03f263423848a955f2bc
**アノテーション [#pccda2ad]
-@Api(value = "/api/path", tags = "tagname", description = "testAPI")
なくても大丈夫だけど、より詳細な説明をController単位で追加できる
指定しない場合はtagsはハイフンつなぎのクラス名
descriptionはクラス名。valueは不明!
-@ApiOperation("APIの操作内容を記述")
指定しないとメソッド名のところを指定した場合は、エンドポイント単位に説明追加
**設定 [#q8eee948]
.select().apis(apiPackage()).paths(or(and(apiPath(), not(actuatorPath()), not(testPath())), internalApiPath())).build()
private Predicate<String> actuatorPath() {
return regex("/actuator/?.*");
}