Swagger docs and unit tests complete to a first approximation.