mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -06:00
Chore: Update OpenAPI generation README to include bingo instructions (#79104)
* Chore: Update OpenAPI generation README to include bingo instructions * chore: remove extra whitespace
This commit is contained in:
parent
60fa462a2d
commit
29113a6369
@ -73,10 +73,13 @@ type UpdateServiceAccountResponse struct {
|
||||
Developers can re-create the OpenAPI v2 and v3 specifications using the following command:
|
||||
|
||||
```bash
|
||||
|
||||
make swagger-clean && make openapi3-gen
|
||||
```
|
||||
|
||||
They can observe its output into the `public/api-merged.json` and `public/openapi3.json` files.
|
||||
|
||||
Finally, they can browser and try out both the OpenAPI v2 and v3 via the Swagger UI editor (served by the grafana server) by navigating to `/swagger`.
|
||||
|
||||
If there are any issues generating the specifications (e.g., diff containing unrelated changes to your PR or unusually large diff), please run the following two commands to ensure your Swagger version is up to date, then re-run the make commands.
|
||||
- `go install github.com/bwplotka/bingo@latest`
|
||||
- `bingo get swagger`
|
Loading…
Reference in New Issue
Block a user