Hide Scalar API client button
This commit is contained in:
@@ -112,6 +112,11 @@ return [
|
|||||||
*/
|
*/
|
||||||
'hideTestRequestButton' => true,
|
'hideTestRequestButton' => true,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether to show the API client button in the sidebar and modal.
|
||||||
|
*/
|
||||||
|
'hideClientButton' => true,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCP will be introduced as a first-party KanbanGit feature later.
|
* MCP will be introduced as a first-party KanbanGit feature later.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ class PublicApiDocumentationTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->get('/api/docs')
|
$this->get('/api/docs')
|
||||||
->assertOk()
|
->assertOk()
|
||||||
|
->assertSee('"hideClientButton":true', false)
|
||||||
->assertSee('"mcp":{"disabled":true}', false);
|
->assertSee('"mcp":{"disabled":true}', false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user