Removed all unnecessary checks in swagger-validator middleware working around invalid Swagger documents