Merge remote-tracking branch 'origin/master'

This commit is contained in:
shalvah
2021-10-29 21:02:22 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ class ExtractedEndpointData extends BaseDTO
public function endpointId()
{
return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':'], '-', $this->uri);
return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':', '\\', '+', '|'], '-', $this->uri);
}
public function normalizeResourceParamName(string $uri, Route $route): string

View File

@@ -137,7 +137,7 @@ class OutputEndpointData extends BaseDTO
public function endpointId(): string
{
return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':'], '-', $this->uri);
return $this->httpMethods[0] . str_replace(['/', '?', '{', '}', ':', '\\', '+', '|'], '-', $this->uri);
}
public function hasResponses(): bool