File tree 2 files changed +8
-8
lines changed
powertools-validation/src
test/java/software/amazon/lambda/powertools/validation
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "https://json-schema.org/draft/2019-09/schema",
2
+ "$schema": "https://json-schema.org/draft/2019-09/schema# ",
3
+ "$id": "https://json-schema.org/draft/2019-09/schema# ",
4
4
"$vocabulary": {
5
5
"https://json-schema.org/draft/2019-09/vocab/core": true,
6
6
"https://json-schema.org/draft/2019-09/vocab/applicator": true,
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ public void testLoadMetaSchema_NoValidation() {
70
70
});
71
71
}
72
72
73
- // @Test
74
- // public void testLoadMetaSchemaV2019() {
75
- // ValidationConfig.get().setSchemaVersion(SpecVersion.VersionFlag.V201909);
76
- // JsonSchema jsonSchema = getJsonSchema("classpath:/schemas/meta_schema_V201909", true);
77
- // assertThat(jsonSchema).isNotNull();
78
- // }
73
+ @ Test
74
+ public void testLoadMetaSchemaV2019 () {
75
+ ValidationConfig .get ().setSchemaVersion (SpecVersion .VersionFlag .V201909 );
76
+ JsonSchema jsonSchema = getJsonSchema ("classpath:/schemas/meta_schema_V201909" , true );
77
+ assertThat (jsonSchema ).isNotNull ();
78
+ }
79
79
80
80
@ Test
81
81
public void testLoadMetaSchemaV7 () {
You can’t perform that action at this time.
0 commit comments