diff --git a/site/models/reference-endpoint.php b/site/models/reference-endpoint.php index 6e22ac9233..7f37a57623 100644 --- a/site/models/reference-endpoint.php +++ b/site/models/reference-endpoint.php @@ -7,7 +7,7 @@ class ReferenceEndpointPage extends ReflectionPage { public function request(): string { - return $this->method() . ': ' . $this->title(); + return $this->info() . ': ' . $this->title(); } public function metadata(): array @@ -22,6 +22,8 @@ public function metadata(): array public function title(): Field { - return parent::title()->value('/api' . parent::title()); + return parent::title()->value( + '' . $this->info() . ' /api' . parent::title() + ); } } diff --git a/site/snippets/templates/reference/entries.php b/site/snippets/templates/reference/entries.php index 45df8f10ae..c0e4dfbfdb 100644 --- a/site/snippets/templates/reference/entries.php +++ b/site/snippets/templates/reference/entries.php @@ -2,8 +2,16 @@