Refactor tests to build schema
At the moment the tests run from the committed swagger.json
generated by generate_schema_config.py
This means you have to recompile the schema before you're able to test changes.
I think ultimately we don't want to commit the compiled schema at all. In the short-term we might want to be able to run the tests in both ways - building the schema dynamically from the current definitions and using the pre-compiled swagger.json
.