Skip to content

Commit

Permalink
fix: fix a deprecation warning from jsonschema 3.x (#946)
Browse files Browse the repository at this point in the history
For example, in https://travis-ci.org/awslabs/serverless-application-model/jobs/538917819:

/home/travis/build/awslabs/serverless-application-model/.tox/py36/lib/python3.6/site-packages/jsonschema/validators.py:893: DeprecationWarning: The metaschema specified by $schema was not found. Using the latest draft to validate, but this will raise an error in the future.
  cls = validator_for(schema)
  • Loading branch information
Chih-Hsuan Yen authored and brettstack committed Jun 3, 2019
1 parent 4e3a274 commit 12899b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samtranslator/policy_templates_data/schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "http://json-schema.org/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Schema for AWS SAM Policy Templates",

"definitions": {
Expand Down

0 comments on commit 12899b5

Please sign in to comment.