mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-30 08:14:55 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user