Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Maguire 0f607c7a28 export and auto-commit docs/docs/api/openapi.json as part of test-api-contract workflow (#719)
- copies that openapi.json file to docs/docs/api/openapi.json as part of start-mock-server.sh.
- adds a step to the end of the test-api-contract workflow that just auto-commits changes to the docs/docs/api/openapi.json file.
- excludes docs/docs/api/openapi.json from pre-commit since its already been formatted by jq.
2023-01-14 22:40:33 +00:00
Jack Michaud 29b08875d4 refactor: move print_openapi_schema into main 2023-01-01 18:58:01 +01:00
Jack Michaud 604ad2f8e7 style: run pre-commit hooks 2023-01-01 18:58:01 +01:00
Jack Michaud 953d243a6f chore: start-mock-server waits for health 2023-01-01 18:58:01 +01:00
Jack Michaud 036c4b6c6c test: add contract test for discord bot 2023-01-01 18:58:01 +01:00
Jack Michaud 5c9b9e3c9f fix: use prism instead of wiremock
the previous iteration of this script which used wiremock threw a null pointer exception.
2023-01-01 18:58:01 +01:00
Jack Michaud b5ebab8839 chore: add print_openapi_schema and start-mock-server.sh script 2023-01-01 18:58:01 +01:00