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