code: @Override
      public void validate(ValidationHelper helper, Context context, String key, PathItem t) {
  
          if (t != null) {
  
              String ref = t.getRef();
              if (ref != null && ref.startsWith("#")) {
                  final String message = Tr.formatMessage(tc, "pathItemInvalidRef", ref, key);
                  helper.addValidationEvent(new ValidationEvent(ValidationEvent.Severity.ERROR, context.getLocation(), message));
              }
  
              if (key.contains("{$")) {
                  //Path within a Callback can contain variables (e.g. {$request.query.callbackUrl}/data ) which shouldn't be validated since they are not path params
                  if (OpenAPIUtils.isDebugEnabled(tc)) {
                      Tr.debug(tc, "Path contains variables. Skip validation: " + key);
                  }
                  return;
              }
  
              validateParameters(helper, context, key, t);
          }
      }
docs: {@inheritDoc}