Skip to content

Commit c80df49

Browse files
authored
Merge pull request #23 from dtkav/local_swagger2
use local copy of swagger2 schema
2 parents 7308f07 + 61b6839 commit c80df49

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ matrix:
1010
- python: nightly
1111
- python: pypy3
1212
allow_failures:
13-
- python: 3.2
13+
- python: 3.2 # EOL
14+
- python: 3.3 # EOL
1415
- python: nightly
1516
before_install:
1617
- if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; fi
18+
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install 'pyflakes<2.0.0'; fi
1719
- pip install codecov
1820
install:
1921
- pip install -r requirements.txt

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 & 1 deletion
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,
@@ -85,7 +86,6 @@ def run_tests(self):
8586
"Intended Audience :: Developers",
8687
"Topic :: Software Development :: Libraries :: Python Modules",
8788
"Operating System :: OS Independent",
88-
"Programming Language :: Python :: 3.3",
8989
"Programming Language :: Python :: 3.4",
9090
"Programming Language :: Python :: 3.5",
9191
"Programming Language :: Python :: 3.6",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py33,py34,py35,py36}-{default,simplejson}
2+
envlist = {py34,py35,py36}-{default,simplejson}
33

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)