Skip to content

Commit 42ee130

Browse files
author
Daniel Grossmann-Kavanagh
committed
add v2 schema to setup.py, remove id field from schema
1 parent 7308f07 commit 42ee130

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

openapi_spec_validator/resources/schemas/v2.0/schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"title": "A JSON Schema for Swagger 2.0 API.",
3-
"id": "http://swagger.io/v2/schema.json#",
43
"$schema": "http://json-schema.org/draft-04/schema#",
54
"type": "object",
65
"required": [

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def run_tests(self):
5858
package_data={
5959
'openapi_spec_validator': [
6060
'openapi_spec_validator/resources/schemas/v3.0.0/*',
61+
'openapi_spec_validator/resources/schemas/v2.0/*',
6162
],
6263
},
6364
include_package_data=True,

0 commit comments

Comments
 (0)