Package com.networknt.schema.dialect
Class Dialects
- java.lang.Object
-
- com.networknt.schema.dialect.Dialects
-
public class Dialects extends Object
The dialects.
-
-
Constructor Summary
Constructors Constructor Description Dialects()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DialectgetDraft201909()Draft 2019-09.static DialectgetDraft202012()Draft 2020-12.static DialectgetDraft4()Draft 4.static DialectgetDraft6()Draft 6.static DialectgetDraft7()Draft 7.static DialectgetOpenApi30()OpenAPI 3.0.static DialectgetOpenApi31()OpenAPI 3.1.
-
-
-
Method Detail
-
getDraft4
public static Dialect getDraft4()
Draft 4.- Returns:
- the Draft 4 dialect
-
getDraft6
public static Dialect getDraft6()
Draft 6.- Returns:
- the Draft 6 dialect
-
getDraft7
public static Dialect getDraft7()
Draft 7.- Returns:
- the Draft 7 dialect
-
getDraft201909
public static Dialect getDraft201909()
Draft 2019-09.- Returns:
- the Draft 2019-09 dialect
-
getDraft202012
public static Dialect getDraft202012()
Draft 2020-12.- Returns:
- the Draft 2020-12 dialect
-
getOpenApi30
public static Dialect getOpenApi30()
OpenAPI 3.0.- Returns:
- the OpenAPI 3.0 dialect
-
getOpenApi31
public static Dialect getOpenApi31()
OpenAPI 3.1.- Returns:
- the OpenAPI 3.1 dialect
-
-