All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.stalary.easydoc.data.Method Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
/**
 * @(#)Method.java, 2018-09-25.
 * 

* Copyright 2018 Stalary. */ package com.stalary.easydoc.data; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; import java.util.Map; /** * Method * @author lirongqian * @since 2018/09/25 */ @Data @AllArgsConstructor @NoArgsConstructor @Builder(toBuilder = true) public class Method { /** 请求路径 **/ private String path; /** 请求类型(get,post,put,delete...) **/ private String type; /** 方法介绍 **/ private String description; /** 参数map,key代表参数名称,value默认为"" **/ private List paramList; /** 返回值的code,描述,参数 **/ private List responseList; /** 可能抛出的异常 **/ private Map throwsMap; /** post方法中的body **/ private Model body; /** 代表方法是否已经被弃置 **/ @Builder.Default private boolean deprecated = false; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy