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

io.openapiparser.OpenApiSchemas Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2022 https://github.com/openapi-processor/openapi-parser
 * PDX-License-Identifier: Apache-2.0
 */

package io.openapiparser;

import java.net.URI;

public class OpenApiSchemas {
    static URI    OPENAPI_SCHEMA_30_ID = id("https://spec.openapis.org/oas/3.0/schema/2021-09-28");
    static String OPENAPI_SCHEMA_30 = "/openapi/schemas/v3.0/schema.yaml";

    static URI    OPENAPI_SCHEMA_31_ID = id("https://spec.openapis.org/oas/3.1/schema/2022-02-27");
    static String OPENAPI_SCHEMA_31 = "/openapi/schemas/v3.1/schema.yaml";

    private static URI id (String uri) {
        return URI.create (uri);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy