io.openapiprocessor.jsonschema.schema.RawValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-schema-validator Show documentation
Show all versions of json-schema-validator Show documentation
OpenAPI Parser JSON-Schema Validator
/*
* Copyright 2022 https://github.com/openapi-processor/openapi-parser
* PDX-License-Identifier: Apache-2.0
*/
package io.openapiprocessor.jsonschema.schema;
import org.checkerframework.checker.nullness.qual.Nullable;
public class RawValue {
private final Scope scope;
private final @Nullable Object value;
public RawValue (Scope scope, @Nullable Object value) {
this.scope = scope;
this.value = value;
}
public Scope getScope () {
return scope;
}
// todo why nullable ?
public @Nullable Object getValue () {
return value;
}
}