OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification.
Why do you think that https://github.com/tiangolo/full-stack-fastapi-template is a good alternative to openapi-spec-validator