public enum OpenAPIVersion extends Enum<OpenAPIVersion>
Modifier and Type | Method and Description |
---|---|
static OpenAPIVersion |
fromContract(JsonObject contract) |
Future<SchemaRepository> |
getRepository(Vertx vertx,
String baseUri) |
Future<JsonObject> |
resolve(Vertx vertx,
SchemaRepository repo,
JsonObject contract) |
Future<OutputUnit> |
validate(Vertx vertx,
SchemaRepository repo,
JsonObject contract) |
static OpenAPIVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenAPIVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenAPIVersion V3_0
public static final OpenAPIVersion V3_1
public static OpenAPIVersion[] values()
for (OpenAPIVersion c : OpenAPIVersion.values()) System.out.println(c);
public static OpenAPIVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static OpenAPIVersion fromContract(JsonObject contract)
public Future<OutputUnit> validate(Vertx vertx, SchemaRepository repo, JsonObject contract)
public Future<JsonObject> resolve(Vertx vertx, SchemaRepository repo, JsonObject contract)
public Future<SchemaRepository> getRepository(Vertx vertx, String baseUri)
Copyright © 2023 Eclipse. All rights reserved.