> ... and if the spec is defined first both can be done in parallel.
You could simply write the complete interface down in Python/FastAPI without actual implementation and generate the OpenAPI spec from that interface. That way both teams could start soon.