org.jsmart.simulator.domain.ApiSpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of micro-simulator Show documentation
Show all versions of micro-simulator Show documentation
Simulates RESTFUL End Points for Micro Services.
The newest version!
package org.jsmart.simulator.domain;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.ArrayList;
import java.util.List;
import org.jsmart.simulator.deserializers.ApiSpecDeserializer;
/**
* Created by Siddha on 25/04/2015.
*/
@JsonDeserialize(using = ApiSpecDeserializer.class)
public class ApiSpec {
private String name;
private List apis;
public ApiSpec(String name, List apis) {
this.name = name;
this.apis = new ArrayList<>(apis);
}
public String getName() {
return name;
}
public List getApis() {
return apis;
}
}