code: public function generateMethodParameter($parameter, Context $context, $reference)
      {
          $name = Inflector::camelize($parameter->getName());
          $methodParameter = new Node\Param($name);
  
          if (!$parameter->getRequired() || $parameter->getDefault() !== null) {
              $methodParameter->default = $this->getDefaultAsExpr($parameter);
          }
  
          return $methodParameter;
      }
docs: {@inheritdoc}
  
  @param $parameter PathParameterSubSchema|HeaderParameterSubSchema|FormDataParameterSubSchema|QueryParameterSubSchema