Browse Source

Swagger - 세부설명 작성

Test
이학준 2 years ago
parent
commit
828e2462c2
  1. 4
      src/main/java/com/palnet/biz/api/anls/hstry/controller/AnlsHstryController.java
  2. 5
      src/main/java/com/palnet/biz/api/anls/smlt/controller/AnlsSmltController.java

4
src/main/java/com/palnet/biz/api/anls/hstry/controller/AnlsHstryController.java

@ -3,6 +3,7 @@ package com.palnet.biz.api.anls.hstry.controller;
import java.util.List;
import com.palnet.biz.api.comn.model.ComnPagingRs;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
@ -38,6 +39,7 @@ public class AnlsHstryController {
@GetMapping(value = "/list")
@ApiOperation(value = "비행 현황 목록 출력")
public ResponseEntity<? extends BasicResponse> list(AnlsHstryGroupModel rq) {
List<AnlsHstryRsModel> rs = null;
ComnPagingRs<AnlsHstryRsModel> response;
@ -62,6 +64,7 @@ public class AnlsHstryController {
}
@GetMapping(value = "/detail/{id}")
@ApiOperation(value = "비행 현황 상세")
public ResponseEntity<? extends BasicResponse> detail(@PathVariable String id) {
AnlsHstryModel result = null;
@ -80,6 +83,7 @@ public class AnlsHstryController {
@GetMapping(value = "/log/{id}")
@ApiOperation(value = "비행 이력 데이터")
public ResponseEntity<? extends BasicResponse> log(@PathVariable String id) {
List<AnlsHstryDetailModel> result = null;
try {

5
src/main/java/com/palnet/biz/api/anls/smlt/controller/AnlsSmltController.java

@ -2,6 +2,7 @@ package com.palnet.biz.api.anls.smlt.controller;
import java.util.List;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
@ -41,6 +42,7 @@ public class AnlsSmltController {
* @return
*/
@GetMapping(value = "/list")
@ApiOperation(value = "비행 현황 목록")
public ResponseEntity<? extends BasicResponse> list(AnlsHstryRqModel rq) {
List<AnlsHstryModel> result = null;
@ -74,6 +76,7 @@ public class AnlsSmltController {
* @return
*/
@GetMapping(value = "/hist/{id}")
@ApiOperation(value = "비행 이력 데이터 조회")
public ResponseEntity<? extends BasicResponse> histList(@PathVariable String id) {
List<AnlsHstryDetailModel> result = null;
@ -98,6 +101,7 @@ public class AnlsSmltController {
* @return
*/
@GetMapping(value = "/stcs/{id}")
@ApiOperation(value = "통계 데이터 조회")
public ResponseEntity<? extends BasicResponse> stcsList(@PathVariable String id) {
List<AnlsSmltStcsModel> result = null;
@ -122,6 +126,7 @@ public class AnlsSmltController {
* @return
*/
@GetMapping(value = "/detail/{id}")
@ApiOperation(value = "비행 상세정보 조회")
public ResponseEntity<? extends BasicResponse> detail(@PathVariable String id) {
AnlsSmltDetailModel result = null;

Loading…
Cancel
Save