influxdb/docs/UpdatingSwagger.md

18 lines
522 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## Updating the Swagger.yml
* get latest from master
* create a separate branch
* update swagger.yml with your change
* once the change is merged in master, cd into influxdb2-js dir
* get latest from master and create a separate branch
* run yarn generate command in influxdb2-js dir
* yarn buid && yarn lint
* git status
* git add .
* git commit -m “message”
* git push
* create pr and merge it in
* get latest from master
* create a separate branch
* update influxdb2-js in package.json with correct version