Disable Scalar MCP prompt

This commit is contained in:
2026-04-20 13:40:52 +02:00
parent f036845f06
commit db9e4a7312
2 changed files with 9 additions and 1 deletions
@@ -9,7 +9,8 @@ class PublicApiDocumentationTest extends TestCase
public function test_scalar_api_docs_are_public(): void
{
$this->get('/api/docs')
->assertOk();
->assertOk()
->assertSee('"mcp":{"disabled":true}', false);
}
public function test_openapi_document_is_publicly_served(): void