Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation depends on stability of external servers #57

Open
ksharenkov opened this issue Sep 28, 2016 · 0 comments
Open

Validation depends on stability of external servers #57

ksharenkov opened this issue Sep 28, 2016 · 0 comments

Comments

@ksharenkov
Copy link

ksharenkov commented Sep 28, 2016

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant