From b6784c4354e88329ea5feb36d6644e037b3804a1 Mon Sep 17 00:00:00 2001 From: Kristina Date: Mon, 17 Nov 2025 15:52:41 -0600 Subject: [PATCH] API Client: Add exact command to run (#113994) --- packages/grafana-api-clients/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-api-clients/README.md b/packages/grafana-api-clients/README.md index dfc2680926c..4e861d75eda 100644 --- a/packages/grafana-api-clients/README.md +++ b/packages/grafana-api-clients/README.md @@ -19,7 +19,7 @@ First, check if the `group` and the `version` are already present in [openapi_te } ``` -Afterwards, you need to run the `TestIntegrationOpenAPIs` test. Note that it will fail the first time you run it. On the second run, it will generate the corresponding OpenAPI spec, which you can find in [openapi_snapshots](../../pkg/tests/apis/openapi_snapshots). +Afterwards, you need to run the `TestIntegrationOpenAPIs` test with `go test ./pkg/tests/apis -run TestIntegrationOpenAPIs`. Note that it will fail the first time you run it. On the second run, it will generate the corresponding OpenAPI spec, which you can find in [openapi_snapshots](../../pkg/tests/apis/openapi_snapshots). > Note: You don't need to follow these two steps if the `group` you're working with is already in the `openapi_test.go` file.