com.github.dreamhead.moco.parser.model.RestGetSetting Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of moco-runner Show documentation
Show all versions of moco-runner Show documentation
Moco is an easy setup stub framework, mainly focusing on testing and integration.
package com.github.dreamhead.moco.parser.model;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.github.dreamhead.moco.MocoRest;
import com.github.dreamhead.moco.RestSettingBuilder;
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public final class RestGetSetting extends RestSingleSetting {
@Override
protected RestSettingBuilder doStartRestSetting() {
if (hasId()) {
return MocoRest.get(id());
}
return MocoRest.get();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy