/**
  * @param string $method
  *
  * @return string
  */
 public function getUri(string $method) : string
 {
     $serviceUri = (string) self::uri('swagger/request', ['renderer' => 'Json', 'version' => $this->getVersion(), 'namespace' => $this->getNamespace(), 'service' => $this->getName(), 'method' => $method]);
     $uri = new Uri();
     $uri->setPath($serviceUri);
     $uri->setQuerystring();
     $uri->setFragment();
     return $uri->get(false);
 }