Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit a192dc1

Browse files
committed
feat: update to Drafter 5.0.0-rc.1
1 parent 25b2d4a commit a192dc1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/fixtures/valid.parse.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
"content": "application/schema+json"
277277
}
278278
},
279-
"content": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"number\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n }\n}"
279+
"content": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"number\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n }\n}"
280280
}
281281
]
282282
}

test/fixtures/valid.parse.sourcemap.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@
824824
"content": "application/schema+json"
825825
}
826826
},
827-
"content": "{\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"number\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n }\n}"
827+
"content": "{\n \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"number\"\n },\n \"message\": {\n \"type\": \"string\"\n }\n }\n}"
828828
}
829829
]
830830
}

0 commit comments

Comments
 (0)