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

com.github.dreamhead.moco.parser.model.RestGetSetting Maven / Gradle / Ivy

Go to download

Moco is an easy setup stub framework, mainly focusing on testing and integration.

There is a newer version: 1.5.0
Show newest version
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