There's one specification test that simply asserts against a static json file generated from the example app. But we don't actually know if this output is valid.
Perhaps we could try actually validating it with something like https://github.com/kevindew/openapi3_parser (there may be other solutions as well, this is just one i found).