io.openapiprocessor.jsonschema.converter.MapJsonSchemasConverter 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.converter;
import io.openapiprocessor.jsonschema.schema.JsonPointer;
import io.openapiprocessor.jsonschema.schema.JsonSchema;
import io.openapiprocessor.jsonschema.schema.JsonSchemaContext;
import io.openapiprocessor.jsonschema.support.Types;
import org.checkerframework.checker.nullness.qual.Nullable;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.Map;
import static io.openapiprocessor.jsonschema.support.Null.nonNull;
/**
* get a map of {@link String} to {@link JsonSchema}.
*/
public class MapJsonSchemasConverter implements PropertyConverter