mirror of https://github.com/harness/drone.git
Update README.md with latest swagger (#1079)
parent
a70222e73d
commit
73bc82a091
|
@ -91,9 +91,8 @@ To start the server at `localhost:3000`, simply run the following command:
|
|||
Please make sure to update the autogenerated client code used by the UI when adding new rest APIs.
|
||||
|
||||
To regenerate the code, please execute the following steps:
|
||||
- Run local gitness instance with latest changes
|
||||
- Get latest OpenAPI specs from `http://localhost:3000/openapi.yaml` and store it in `web/src/services/code/swagger.yaml`
|
||||
- navigate into the `web` folder and run `yarn services`
|
||||
- Regenerate swagger with latest gitness binary `./gitness swagger > web/src/services/code/swagger.yaml`
|
||||
- navigate to the `web` folder and run `yarn services`
|
||||
|
||||
The latest API changes should now be reflected in `web/src/services/code/index.tsx`
|
||||
|
||||
|
|
Loading…
Reference in New Issue