Validate OpenAPI schema with the help of @apidevtools/swagger-parser library.
@apidevtools/swagger-parser