InterfaceWithDefaultJsonValue.java

package io.swagger.v3.core.oas.models;

import com.fasterxml.jackson.annotation.JsonValue;

public interface InterfaceWithDefaultJsonValue {

    @JsonValue
    default String toValue() {
        return "default";
    }
}