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

pub.codex.apix.schema.Operation Maven / Gradle / Ivy

There is a newer version: 5.0.2
Show newest version
package pub.codex.apix.schema;

import org.springframework.http.HttpMethod;

import java.util.List;
import java.util.Map;


/**
 * mapping 属性 schema 映射
 */
public class Operation {
    private final HttpMethod method;
    private final String summary;
    private List> params;
    private Map paramsBody;

    public Operation(HttpMethod method, String summary, List> params, Map paramsBody) {
        this.method = method;
        this.summary = summary;
        this.params = params;
        this.paramsBody = paramsBody;
    }

    public HttpMethod getMethod() {
        return method;
    }

    public String getSummary() {
        return summary;
    }

    public List> getParams() {
        return params;
    }

    public Map getParamsBody() {
        return paramsBody;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy