JsonApiDotNetCore
JsonApiDotNetCore copied to clipboard
Add OpenApiEndToEndTests
DESCRIPTION
These tests would:
- Compile against a swagger.json file stored in OpenApiTests (server) project to generate a client library.
- Reuse the in-memory IntegrationTestContext to set up the server-side database.
- Invoke a request against OpenApiTests (webserver) via the generated client library.
- Assert on the response via the client-generated library.
- Assert on server-side database changes.
The infrastructure is in place and is being used for several tests already. Leaving this open to add basic test coverage for all endpoints.