Yelp / swagger_spec_validator

Other
104 stars 71 forks source link

Validation depends on stability of external servers #57

Open ksharenkov opened 8 years ago

ksharenkov commented 8 years ago

Validation schema (swagger_spec_validator\schemas\v2.0\schema.json) inside package depends on external resurces like

    "title": {
      "$ref": "http://json-schema.org/draft-04/schema#/properties/title"
    },

If external server doesn't work (For example it respond with 503 at 27 Sep 2016) then REST service can't start due validation error.

Generally this means "not for production" for all swagger+python infrastructure.

Suggested sulution - exclude usage of external resources for validation (inline or copy file locally)