Generate and verify openapi specs in source tree at api/openapi-spec

This commit is contained in:
mbohlool 2016-09-27 23:55:45 -07:00
parent 7b171dc2bb
commit c94f28aad0
1 changed files with 2 additions and 1 deletions

View File

@ -590,10 +590,11 @@ out. Put `grep` or `ack` to good use.
If you added functionality, you should consider documenting it and/or writing If you added functionality, you should consider documenting it and/or writing
an example to illustrate your change. an example to illustrate your change.
Make sure you update the swagger API spec by running: Make sure you update the swagger and OpenAPI spec by running:
```sh ```sh
hack/update-swagger-spec.sh hack/update-swagger-spec.sh
hack/update-openapi-spec.sh
``` ```
The API spec changes should be in a commit separate from your other changes. The API spec changes should be in a commit separate from your other changes.