from openapi_spec_validator import validate_spec_url import os validate_spec_url("http://localhost:5000/docs/swagger.json")