Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Contract tests between API and website

Open jack-michaud opened this issue 2 years ago • 0 comments

As per discussion in #180, the communication between the website and API should be tested through a Contract test. This test should test that each call satisfies the OpenAPI schema inputs and endpoints. That way, changes to the endpoint contract will automatically be caught by these tests.

jack-michaud avatar Dec 31 '22 16:12 jack-michaud